mirror of
https://github.com/humhub/humhub.git
synced 2025-04-20 23:21:54 +02:00
YiiGii Module - Whitespaces breaks IP Filter
This commit is contained in:
parent
fc0a3c7438
commit
58fd1eca15
@ -17,7 +17,7 @@ class YiiGiiModule extends CWebModule {
|
||||
'class' => 'system.gii.GiiModule',
|
||||
'password' => HSetting::Get('password', 'yiigii'),
|
||||
// If removed, Gii defaults to localhost only. Edit carefully to taste.
|
||||
'ipFilters' => explode(",", HSetting::Get('ipFilters', 'yiigii')),
|
||||
'ipFilters' => explode(",", str_replace(" ", "",HSetting::Get('ipFilters', 'yiigii'))),
|
||||
'generatorPaths' => array(
|
||||
'bootstrap.gii',
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user