Переделка для composer autoload

This commit is contained in:
origami11 2017-02-09 14:57:40 +03:00
parent ad69746347
commit b5641db607
100 changed files with 14 additions and 325 deletions

8
src/config.php Normal file
View file

@ -0,0 +1,8 @@
<?php
function loadConfig($filename) {
if (@include($filename)) {
return $settings;
}
throw new Exception("config $filename not found");
}