diff options
Diffstat (limited to 'lib/private/urlgenerator.php')
-rw-r--r-- | lib/private/urlgenerator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/urlgenerator.php b/lib/private/urlgenerator.php index 428a222f9c7..fb1ea737ef4 100644 --- a/lib/private/urlgenerator.php +++ b/lib/private/urlgenerator.php @@ -90,7 +90,7 @@ class URLGenerator implements IURLGenerator { * Returns a url to the given app and file. */ public function linkTo( $app, $file, $args = array() ) { - $frontControllerActive=($this->config->getSystemValue('front_controller_active', 'false') == 'true'); + $frontControllerActive = (getenv('front_controller_active') === 'true'); if( $app != '' ) { $app_path = \OC_App::getAppPath($app); |