An open API service indexing awesome lists of open source software.

https://github.com/zsgsdesign/pastebin

Yet another PasteBin, all right?
https://github.com/zsgsdesign/pastebin

Last synced: 11 months ago
JSON representation

Yet another PasteBin, all right?

Awesome Lists containing this project

README

          

# PasteBin
Yet another PasteBin, all right?

## Install Automatically

just access `install/index.php`.

## Install Manully
Create a new php file named CONFIG.php in /protected/model/ and insert:
```
"",
"PB_DEBUG_MYSQL_PORT"=>"",
"PB_DEBUG_MYSQL_USER"=>"",
"PB_DEBUG_MYSQL_DATABASE"=>"",
"PB_DEBUG_MYSQL_PASSWORD"=>"",

"PB_MYSQL_HOST"=>"",
"PB_MYSQL_PORT"=>"",
"PB_MYSQL_USER"=>"",
"PB_MYSQL_DATABASE"=>"",
"PB_MYSQL_PASSWORD"=>"",

"PB_CDN"=>"https://static.1cf.co",
"PB_DOMAIN"=>"",
"PB_SALT"=>""
);
return $config[$KEY];
}

}

```

The type in the configuration of your mysql server to this file. Next you need to import the `pastebin.lite.sql` to your database.

**NOTICE :** Normally, you only need to set fields with DEBUG.