autoload: include functions.php
This commit is contained in:
parent
50d4b30b33
commit
48c1d0c71b
|
@ -1,4 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
require_once "functions.php";
|
||||||
|
|
||||||
function __autoload($class) {
|
function __autoload($class) {
|
||||||
$class_file = str_replace("_", "/", strtolower(basename($class)));
|
$class_file = str_replace("_", "/", strtolower(basename($class)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue