autoload: include functions.php

This commit is contained in:
Andrew Dolgov 2013-04-24 09:05:56 +04:00
parent 50d4b30b33
commit 48c1d0c71b

View file

@ -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)));