mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Add comment as to why we define GLOB_BRACE as 0
This commit is contained in:
parent
1319788107
commit
20baf4288b
@ -89,6 +89,8 @@ class RouteServiceProvider extends ServiceProvider
|
||||
$router->group(['namespace' => $this->namespace, 'as' => 'core::'], function (Router $router) {
|
||||
$path = app_path('Http/Routes');
|
||||
|
||||
// GLOB_BRACE is defined as 0, check the source!
|
||||
// https://github.com/php/php-src/blob/31e4afe3c3654f9c5ab2eafa3a02c62d41c58b47/ext/standard/dir.c#L154-L158
|
||||
$globBrace = defined('GLOB_BRACE') ? GLOB_BRACE : 0;
|
||||
$globFlag = $globBrace;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user