Source for file manialib.inc.php
Documentation is available at manialib.inc.php
* @copyright 2009-2010 NADEO
define('MANIALIB_VERSION', '1.0b1');
abstract class AutoloadHelper
* @param string Class to load
function __autoload($className)
foreach(AutoloadHelper::$paths as $path)
if(file_exists($path =
$path.
$className.
'.class.php'))
require_once( dirname(__FILE__
).
'/config.default.php' );
require_once( dirname(__FILE__
).
'/settings.php' );
AutoloadHelper::$paths[] =
APP_LIBRARIES_PATH;
AutoloadHelper::$paths[] =
APP_FRAMEWORK_LIBRARIES_PATH;
AutoloadHelper::$paths[] =
APP_FRAMEWORK_GUI_TOOLKIT_PATH.
'cards/';
AutoloadHelper::$paths[] =
APP_FRAMEWORK_GUI_TOOLKIT_PATH.
'layouts/';
require_once( APP_FRAMEWORK_LIBRARIES_PATH.
'ErrorHandling.class.php' );
require_once( APP_FRAMEWORK_LIBRARIES_PATH.
'RequestEngine.class.php' );
require_once( APP_FRAMEWORK_LIBRARIES_PATH.
'SessionEngine.class.php' );
require_once( APP_FRAMEWORK_LIBRARIES_PATH.
'LangEngine.class.php' );
require_once( APP_FRAMEWORK_GUI_TOOLKIT_PATH.
'Manialink.class.php' );
require_once( APP_FRAMEWORK_GUI_TOOLKIT_PATH.
'Maniacode.class.php' );