Переделка для composer autoload
This commit is contained in:
parent
ad69746347
commit
b5641db607
100 changed files with 14 additions and 325 deletions
8
src/config.php
Normal file
8
src/config.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
function loadConfig($filename) {
|
||||
if (@include($filename)) {
|
||||
return $settings;
|
||||
}
|
||||
throw new Exception("config $filename not found");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue