Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 271 Bytes
<?php
// add following line at the top of every file
// require_once("autoInclude.php");
function __autoload($class_name)
{
if ($class_name == "smarty")
{
require_once "smarty/Smarty.class.php";
return;
}
require_once "model/". $class_name .'.php';
}
?>