Browse Source

Merge spl_autoload from init to Load::setAutoloadFrom.

master
Alexander Demidov 13 years ago
parent
commit
bcc9be619d
  1. 3
      Load.php

3
Load.php

@ -39,6 +39,9 @@ class Load
self::buildAutoload(); self::buildAutoload();
} }
self::$autoload = require(self::$file); self::$autoload = require(self::$file);
spl_autoload_register(array(
__CLASS__,
'autoload'));
} }
static public function autoload($class) static public function autoload($class)

Loading…
Cancel
Save