mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 23:36:18 +00:00
16 lines
543 B
PHP
16 lines
543 B
PHP
<?php
|
|
// ***********************************************
|
|
// Base include file for library functions for AMS
|
|
// ***********************************************
|
|
function __autoload( $className ){
|
|
global $AMS_LIB;
|
|
global $SITEBASE;
|
|
if(file_exists( $AMS_LIB.'/autoload/' . strtolower ( $className ) . '.php')){
|
|
require_once 'autoload/' . strtolower ( $className ) . '.php';
|
|
}
|
|
if($className == "WebUsers"){
|
|
require_once $SITEBASE.'/autoload/' . strtolower ( $className ) . '.php';
|
|
}
|
|
}
|
|
|
|
|