Location: PHPKode > scripts > Ajaxmint Gallery > ajaxmint-gallery/app/controller/layout.php
<?php
/**
***************************************************************************************************
 * @Software    AjaxMint Gallery
 * @Author      Rajapandian - hide@address.com
 * @Copyright   Copyright (c) 2010-2011. All Rights Reserved.
 * @License     GNU GENERAL PUBLIC LICENSE
 **************************************************************************************************
 This source code is licensed under the terms of the GNU GENERAL PUBLIC LICENSE
 http://www.gnu.org/licenses/gpl.html
 **************************************************************************************************
 Copyright (c) 2010-2011 http://ajaxmint.com. All Rights Reserved.
 **************************************************************************************************
**/

class ControllerLayout extends Controller {
    protected function index() {

        $this->data['title'] = $this->config->get('config_site_title');
        $this->data['description'] = $this->config->get('config_site_description');
        $this->data['template'] = HTTP_SERVER."/app/view/".$this->config->get('config_template');                
        $this->data['logo'] = $this->config->get('config_logo');
        $this->data['icon'] = $this->config->get('config_icon');
		
        $this->template = $this->config->get('config_template') . 'layout.php';                
        $this->render();
    }
}
Return current item: Ajaxmint Gallery