Campustream 1.0
A social network MQP for WPI
application/lib/PhlockDB/autoload.php
Go to the documentation of this file.
00001 <?php
00002 
00003 spl_autoload_register(function($class) {
00004         if (strncmp('Phlock', $class, 6)) {
00005                 return false;
00006         }
00007         static $dir = __DIR__;
00008         require_once $dir.'/'.str_replace('_', '/', $class).'.php';
00009 });