khanat-opennel-code/code/ryzom/tools/server/ryzom_ams/ams_lib/libinclude.php

17 lines
543 B
PHP
Raw Normal View History

2013-06-06 06:04:46 +00:00
<?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';
}
}
2013-06-06 06:04:46 +00:00