예제 #1
0
파일: Padl.php 프로젝트: vienis/padl
 /**
  * Configure autoloading using Padl.
  *
  * This is designed to play nicely with other autoloaders.
  *
  * @param string $initPath The init script to load when autoloading the first Padl class
  * 
  * @return void
  */
 public static function registerAutoload($initPath = null)
 {
     self::$initPath = $initPath;
     spl_autoload_register(array('Padl', 'autoload'));
 }