public function init()
    {
        $this->getLogger();

        // Verify Licensing
        //$this->licenseCheck('atk4');

        // send headers, no caching
        $this->sendHeaders();

        $this->cleanMagicQuotes();

        parent::init();

        // in addition to default initialization, set up logger and template
        $this->initializeTemplate();

        if (get_class($this) == 'App_Web') {
            $this->setConfig(array('url_postfix' => '.php', 'url_prefix' => ''));
        }
    }
public function init()
    {
        $this->getLogger();

        // Verify Licensing
        //$this->licenseCheck('atk4');

        // send headers, no caching
        $this->sendHeaders();

        $this->cleanMagicQuotes();

        parent::init();

        // in addition to default initialization, set up logger and template
        $this->initializeTemplate();

        if (get_class($this) == 'App_Web') {
            $this->setConfig(array('url_postfix' => '.php', 'url_prefix' => ''));
        }
    }
public function init ( ) { $ this -> getLogger ( ) ; // Verify Licensing //$this->licenseCheck('atk4'); // send headers, no caching $ this -> sendHeaders ( ) ; $ this -> cleanMagicQuotes ( ) ; parent :: init ( ) ; // in addition to default initialization, set up logger and template $ this -> initializeTemplate ( ) ; if ( get_class ( $ this ) == 'App_Web' ) { $ this -> setConfig ( array ( 'url_postfix' => '.php' , 'url_prefix' => '' ) ) ; } }
Redefine this function instead of default constructor.
Redefine this function instead of default constructor .