private function loadingConfig()
    {
        if ($_SERVER['HTTP_HOST'] == SERVER_DEVELOP) {
            if (!is_file(SYSTEM_ROOT . '/config/config.local.php'))
                @copy(SYSTEM_ROOT . '/config/config.sample.php', SYSTEM_ROOT . '/config/config.local.php');
            require_once('config/config.local.php');
        } else {
            if (!is_file(SYSTEM_ROOT . '/config/config.php'))
                @copy(SYSTEM_ROOT . '/config/config.sample.php', SYSTEM_ROOT . '/config/config.php');
            require_once('config/config.php');
        }
    }
private function loadingConfig()
    {
        if ($_SERVER['HTTP_HOST'] == SERVER_DEVELOP) {
            if (!is_file(SYSTEM_ROOT . '/config/config.local.php'))
                @copy(SYSTEM_ROOT . '/config/config.sample.php', SYSTEM_ROOT . '/config/config.local.php');
            require_once('config/config.local.php');
        } else {
            if (!is_file(SYSTEM_ROOT . '/config/config.php'))
                @copy(SYSTEM_ROOT . '/config/config.sample.php', SYSTEM_ROOT . '/config/config.php');
            require_once('config/config.php');
        }
    }
private function loadingConfig ( ) { if ( $ _SERVER [ 'HTTP_HOST' ] == SERVER_DEVELOP ) { if ( ! is_file ( SYSTEM_ROOT . '/config/config.local.php' ) ) @ copy ( SYSTEM_ROOT . '/config/config.sample.php' , SYSTEM_ROOT . '/config/config.local.php' ) ; require_once ( 'config/config.local.php' ) ; } else { if ( ! is_file ( SYSTEM_ROOT . '/config/config.php' ) ) @ copy ( SYSTEM_ROOT . '/config/config.sample.php' , SYSTEM_ROOT . '/config/config.php' ) ; require_once ( 'config/config.php' ) ; } }
Loading the configuration files for the website

Checks if certain files exist, if not, it uses the standard config file by copying it
Loading the configuration files for the website