<?php
function project_autoload($className) {
if (substr($className, 0, 7) == "Project") {
include_once(__DIR__ . '/../lib/' . implode('/', explode('_', $className)) . '.php');
}
}
spl_autoload_register('project_autoload');
function project_autoload($className) {
if (substr($className, 0, 7) == "Project") {
include_once(__DIR__ . '/../lib/' . implode('/', explode('_', $className)) . '.php');
}
}
spl_autoload_register('project_autoload');