1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-10 07:06:53 +02:00

Update Gelato to 1.0.1

This commit is contained in:
Awilum
2013-03-05 23:15:28 +02:00
parent a464d2bff5
commit 7433dbd24c
6 changed files with 86 additions and 68 deletions

View File

@@ -124,7 +124,7 @@ class ClassLoader
* Set an alias for a class.
*
* <code>
* ClassLoader::registerNamespace('ClassNameAlias', 'ClassName');
* ClassLoader::alias('ClassNameAlias', 'ClassName');
* </code>
*
* @access public
@@ -222,4 +222,15 @@ class ClassLoader
return false;
}
/**
* Register the Gelato ClassLoader to the SPL autoload stack.
*
* @return void
*/
public static function register()
{
spl_autoload_register('ClassLoader::load', true, true);
}
}