예제 #1
0
 /**
  *This method sets the configuration settings of this application
  *
  *@param array The array containing the configuration parameters
  *@return void 
  *@throws This method does not throw an error
  */
 public static function setConfig($config)
 {
     //set the cinfig array
     self::$config = $config;
 }
예제 #2
0
 /**
  *This method sets the configuration settings of this application
  *
  *@param array The array containing the configuration parameters
  *@return void 
  *@throws This method does not throw an error
  */
 public static function setConfig($config)
 {
     //set the error file path
     self::$errorFilePath = dirname(dirname(__FILE__)) . '/Exceptions/';
     //set the config array
     self::$config = $config;
 }