add bootstrap / autoloader

This commit is contained in:
James
2019-07-06 16:25:47 +01:00
parent 647feac50a
commit c4f527a31e
3 changed files with 8 additions and 17 deletions

4
bootstrap.php Normal file
View File

@@ -0,0 +1,4 @@
<?php
spl_autoload_register(function ($class_name) {
include 'src/'.$class_name . '.php';
});