Skip to content
Snippets Groups Projects
Commit 36e06fe7 authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

fix autoloader

parent 7a26c1e0
No related branches found
No related tags found
No related merge requests found
<?php
function __autoload($class_name) {
include strtolower($class_name) . '.php';
include 'class/' . strtolower($class_name) . '.php';
}
// This file is the main controller
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment