From 36e06fe7daca77a6bfef06e15b6a1d9b4a7d72eb Mon Sep 17 00:00:00 2001
From: Matthieu Guffroy <mattgu74@gmail.com>
Date: Thu, 12 Jun 2014 02:18:04 +0200
Subject: [PATCH] fix autoloader

---
 index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.php b/index.php
index 2052725..a81b78c 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
 <?php
     function __autoload($class_name) {
-        include strtolower($class_name) . '.php';
+        include 'class/' . strtolower($class_name) . '.php';
     }
 
     // This file is the main controller
-- 
GitLab