Skip to content

ZsgsDesign/PasteBin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

<?php

class CONFIG {
	
	/**
	 * CONFIG
	 *
	 * @author John Zhang
	 * @param string $KEY
	 */

	public static function GET($KEY)
	{
		$config=array(
			"PB_DEBUG_MYSQL_HOST"=>"",
			"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.

About

Yet another PasteBin, all right?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages