Skip to content
Find file
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';
}
?>
Jump to Line
Something went wrong with that request. Please try again.