Slim API
This commit is contained in:
8
resources/routes/api.php
Normal file
8
resources/routes/api.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$files = new DirectoryIterator(__DIR__ . '/api');
|
||||
foreach ($files as $file) {
|
||||
if ($file->isDir()) {
|
||||
continue;
|
||||
}
|
||||
include_once $file->getRealPath();
|
||||
}
|
Reference in New Issue
Block a user