예제 #1
0
 /**
  * This Method Is Used To Load Configuration File
  */
 private static function LoadConfig()
 {
     $FilePath = 'Core' . DIRECTORY_SEPARATOR . 'Configuration' . DIRECTORY_SEPARATOR . 'Configuration.php';
     $FullPath = getcwd() . DIRECTORY_SEPARATOR . $FilePath;
     if (file_exists($FullPath)) {
         require_once $FilePath;
         if ($FCCore['debug']) {
             Bootstrap::$isDebugEnabled = true;
         }
     } else {
         header('Location: /Install');
     }
 }