Controller_Compat::init PHP Method

init() public method

public init ( )
    public function init()
    {
        parent::init();
        $this->app->compat = $this;
        $l = $this->app->locate('template', 'css/atk-custom.css', 'location');
        if ($l->relative_path != 'atk4') {
            // use compatible shared templates
            $this->app->pathfinder->atk_location->contents['template']['templates'] = 'templates/compat41';
        }
    }
Controller_Compat