Example #1
0
 /**
  * Memuat file konfigurasi berdasarkan path yang diberikan
  * @param string $config_path lokasi ke file konfigurasi
  */
 public static function load($config_path)
 {
     if (file_exists($config_path)) {
         self::$config_items = (include $config_path);
         return true;
     } else {
         return false;
     }
 }