Beispiel #1
0
 /**
  * Set the configuration file path
  * 
  * @param string $file The config file path
  * @return boolean FALSE if file not found TRUE otherwise
  */
 public function setConfig($file)
 {
     if (!file_exists($file)) {
         return false;
     }
     if (Insight_Helper::isInitialized()) {
         throw new Exception('FirePHP::setConfig() already set');
     }
     Insight_Helper::init($file, $GLOBALS['INSIGHT_ADDITIONAL_CONFIG']);
 }