Beispiel #1
0
 * 
 * ***** END LICENSE BLOCK *****
 * 
 * @copyright   Copyright (C) 2010 Christoph Dorn
 * @author      Christoph Dorn <*****@*****.**>
 * @license     http://www.opensource.org/licenses/bsd-license.php
 * @package     FirePHP
 */
$GLOBALS['INSIGHT_AUTOLOAD'] = false;
if (!isset($GLOBALS['INSIGHT_ADDITIONAL_CONFIG'])) {
    $GLOBALS['INSIGHT_ADDITIONAL_CONFIG'] = array();
}
$GLOBALS['INSIGHT_ADDITIONAL_CONFIG'] = Insight_Util::array_merge($GLOBALS['INSIGHT_ADDITIONAL_CONFIG'], array('implements' => array('cadorn.org/insight/@meta/config/0' => array('plugins' => array('engine' => array('api' => 'FirePHP/Plugin/Engine'), 'firephp' => array('api' => 'FirePHP/Plugin/FirePHP'))))));
// NOTE: We must load this class manually as the exported class is only named 'FirePHP' which will not work with the autoloader
FirePHP__autoload('FirePHPCore_FirePHP.class');
Insight_Helper::setSenderLibrary('cadorn.org/github/firephp-libs/packages/insight@' . FirePHP::VERSION);
class FirePHP_Insight extends FirePHP
{
    /**
     * Flag to indicate if upgrade message for client extension was logged
     * 
     * @var boolean
     */
    protected static $upgradeClientMessageLogged = false;
    /**
     * 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)