Example #1
0
 /**
  * Configure application constants
  *
  * @return Array an assoc array containing all the user-defined constants
  */
 public static function configure()
 {
     require_once 'lib/Config.php';
     // Load any local config settings before loading any generic settings
     self::load(hostname());
     self::load('app');
     // Return an array with all the user-defined constants
     return Config::get_constants();
 }