<?php /** * Basic Class Loader * @param String $class the qualified className inclusing its namespace */ function __autoload($class) { $file = str_replace("\\", DIRECTORY_SEPARATOR, $class . ".php"); if (is_file($file)) { require_once $file; } } ?>
info at phpclasses dot org