/** * Registration * @access public * @static * @name register */ public static function register() { self::$prefix = substr(__CLASS__, 0, strpos(__CLASS__, '_') + 1); self::$path = dirname(dirname(realpath(__FILE__))) . DIRECTORY_SEPARATOR; // ici est opéré la registration spl_autoload_register(array(__CLASS__, 'autoload')); }
# # -- END LICENSE BLOCK ----------------------------------- # DISCLAIMER # Do not edit or add to this file if you wish to upgrade MAGIX CMS to newer # versions in the future. If you wish to customize MAGIX CMS for your # needs please refer to http://www.magix-cms.com for more information. */ /** * MAGIX CMS * @category exec * @package INSTALL * @copyright MAGIX CMS Copyright (c) 2010 Gerits Aurelien, * http://www.magix-cms.com, magix-cms.com http://www.magix-cjquery.com * @license Dual licensed under the MIT or GPL Version 3 licenses. * @version 1.2 * @author Gérits Aurélien <*****@*****.**> * @name database * */ /** * Charge toutes les Classes de l'application */ require '../lib/mcinstall.php'; /** * Autoload Exec install */ app_Autoloader::register(); $init = new app_controller_database(); $init->run();