Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php class Bootstrap extends Yaf_Bootstrap_Abstract { private $_config; public..

Decoded Output download

<?php 
class Bootstrap extends Yaf_Bootstrap_Abstract {

    private $_config;

    public function _initBootstrap(){
        $this->_config = Yaf_Application::app()->getConfig();
        Yaf_Registry::set("config",  $this->_config);
    }
/*
    public function _initIncludePath(){
        set_include_path(get_include_path() . PATH_SEPARATOR . $this->_config->application->library);
    }
*/
    // ThinkPHP init
    public function _initThink(){
        include dirname(__FILE__) . '/library/Think.php';
        // init storage type 
        Storage::connect($this->_config->think->STORAGE_TYPE);
    }

    public function _initErrors(){
        if($this->_config->application->showErrors){
            error_reporting (-1);
            ini_set('display_errors','On');
        }
    }

}
 ?>

Did this file decode correctly?

Original Code

<?php 
class Bootstrap extends Yaf_Bootstrap_Abstract {

    private $_config;

    public function _initBootstrap(){
        $this->_config = Yaf_Application::app()->getConfig();
        Yaf_Registry::set("config",  $this->_config);
    }
/*
    public function _initIncludePath(){
        set_include_path(get_include_path() . PATH_SEPARATOR . $this->_config->application->library);
    }
*/
    // ThinkPHP init
    public function _initThink(){
        include dirname(__FILE__) . '/library/Think.php';
        // init storage type 
        Storage::connect($this->_config->think->STORAGE_TYPE);
    }

    public function _initErrors(){
        if($this->_config->application->showErrors){
            error_reporting (-1);
            ini_set('display_errors','On');
        }
    }

}

Function Calls

None

Variables

None

Stats

MD5 bea80750f6ed32974b946cf7b19e4fe2
Eval Count 0
Decode Time 151 ms