<?php
/**
* Alf CMS
*
* PHP 5
*
* Alf CMS
* Copyright 2013-2013, Tonight Systems, Inc. (https://github.com/tonightsystems)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @package      Alf
* @copyright    Copyright 2013-2013, Tonight Systems, Inc.
* @link         https://github.com/tonightsystems/alf-cms
* @license      MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

/**
 * Define as constantes principais do sistema
 */
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', dirname(__FILE__) . DS);
define('CORE', ROOT . DS . 'core' . DS);
define('THEMES', ROOT . DS . 'themes' . DS);
define('EXT', '.php');

require CORE . 'app' . EXT;

App::load(array(
    'convenience',
    'config',
));

// Carrega as configurações do usuário
App::load('config', ROOT);

// Carrega o sistema em si
require CORE . 'init' . EXT;
<?php
/**
* Alf CMS
*
* PHP 5
*
* Alf CMS
* Copyright 2013-2013, Tonight Systems, Inc. (https://github.com/tonightsystems)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @package      Alf
* @copyright    Copyright 2013-2013, Tonight Systems, Inc.
* @link         https://github.com/tonightsystems/alf-cms
* @license      MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

/**
 * Define as constantes principais do sistema
 */
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', dirname(__FILE__) . DS);
define('CORE', ROOT . DS . 'core' . DS);
define('THEMES', ROOT . DS . 'themes' . DS);
define('EXT', '.php');

require CORE . 'convenience' . EXT;
require CORE . 'config' . EXT;

// Carrega as configurações do usuário
require ROOT . 'config' . EXT;

require CORE . 'init' . EXT;
Remove chamadas desnecessárias da classe `App`
Remove chamadas desnecessárias da classe `App`
