2013-06-06 06:04:46 +00:00
|
|
|
<?php
|
|
|
|
// ***********************************************
|
|
|
|
// Base include file for library functions for AMS
|
|
|
|
// ***********************************************
|
|
|
|
function __autoload( $className ){
|
2013-09-09 01:47:32 +00:00
|
|
|
global $AMS_LIB;
|
|
|
|
global $SITEBASE;
|
|
|
|
if(file_exists( $AMS_LIB.'/autoload/' . strtolower ( $className ) . '.php')){
|
2013-08-11 01:55:07 +00:00
|
|
|
require_once 'autoload/' . strtolower ( $className ) . '.php';
|
|
|
|
}
|
2013-09-09 01:47:32 +00:00
|
|
|
if($className == "WebUsers"){
|
|
|
|
require_once $SITEBASE.'/autoload/' . strtolower ( $className ) . '.php';
|
2013-06-17 05:57:09 +00:00
|
|
|
}
|
2013-09-09 01:47:32 +00:00
|
|
|
}
|
|
|
|
|
2013-06-06 06:04:46 +00:00
|
|
|
|