Location: PHPKode > projects > PhpBlock > A9.8/site.class.php
<?php
//$PATH_TO_CODE = "/home/wizmerhill/public_html/phpblock/code/";
$PATH_TO_CODE = $_SERVER['DOCUMENT_ROOT']."/demo/";

include_once $PATH_TO_CODE."/script/constante.class.php";

/**Define site properties*/
class Site {
	public static $ZONE_COORD_Z_GROUND_LEVEL = 9;
	
	public static $SITE_ADMIN="hide@address.com";
	
    public static $URL_TO_LOGIN_FAILURE="http://localhost/modules/dungeon/login.php";
    public static $INSTALLATION_PATH_TO_BASE="http://localhost/";
	
    public static $DB_NAME = "dungeon";
    public static $DB_HOSTNAME = "localhost";
    public static $DB_USERNAME = "root";
    public static $DB_PASSWORD = "";
	
	public static function getImageSiteMirror() {
		return array(
			Site::$INSTALLATION_PATH_TO_BASE,
			//"http://127.0.0.1/~wizmerhill/phpblock/code/",
			//"http://localhost/~wizmerhill/phpblock/code/",
			//"http://192.168.0.81/~wizmerhill/phpblock/code/"
		);
	}
}
?>
Return current item: PhpBlock