♥ NBVN.US ♥

Share Code - data Guester.org 24/10/2012 FORUM UG

admin còn non trẻ quá


http://guester.org/


$config['Database']['dbname'] = 'break_1';


$config['MasterServer']['username'] = 'break_1';

$config['MasterServer']['password'] = 'sida123';


{
        // parse the config file
        $config = array();
        include(CWD . '/includes/adminfunctions_helpdesk.php');

        if (sizeof($config) == 0)
        {
            if (file_exists(CWD. '/includes/adminfunctions_helpdesk.php'))
            {
                // config.php exists, but does not define $config
                die('<br /><br /><strong>Configuration</strong>: includes/config.php exists, but is not in the 3.6+ format. Please convert your config file via the new config.php.new.');
            }
            else
            {
                die('<br /><br /><strong>Configuration</strong>: includes/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php');
            }
        }

        $this->config =& $config;
        // if a configuration exists for this exact HTTP host, use it
        if (isset($this->config["$_SERVER[HTTP_HOST]"]))
        {
            $this->config['MasterServer'] = $this->config["$_SERVER[HTTP_HOST]"];
        }

        // define table and cookie prefix constants
        define('TABLE_PREFIX', trim($this->config['Database']['tableprefix']));
        define('COOKIE_PREFIX', (empty($this->config['Misc']['cookieprefix']) ? 'bb' : $this->config['Misc']['cookieprefix']));

        // set debug mode
        $this->debug = !empty($this->config['Misc']['debug']);
        define('DEBUG', $this->debug);
    }














code : http://www.mediafire.com/?uauzfl46nd35xaj
link data 24/10/2012 : http://www.mediafire.com/?iw5hwjjh3jj5x92