site_audit.autoload.inc in Site Audit 7
Same filename and directory in other branches
Autoloader.
File
site_audit.autoload.incView source
<?php
/**
* @file
* Autoloader.
*/
// Autoload Report classes.
spl_autoload_register(function ($class) {
if (strpos($class, 'SiteAuditReport') === 0) {
require_once SITE_AUDIT_BASE_PATH . '/Report/' . substr($class, strlen('SiteAuditReport')) . '.php';
}
});