Lower-case the null constant
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
routesInDirectory();
|
||||
|
||||
function routesInDirectory($app = '') {
|
||||
$routeDir = app_path('routes/' . $app . ($app !== '' ? '/' : NULL));
|
||||
$routeDir = app_path('routes/' . $app . ($app !== '' ? '/' : null));
|
||||
$iterator = new RecursiveDirectoryIterator($routeDir);
|
||||
$iterator->setFlags(RecursiveDirectoryIterator::SKIP_DOTS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user