src/Application.php
protected function loadGlobals($value) {
        $enabled = false;                                           // default
        if (is_bool($value) || is_int($value)) {
            $enabled = (bool) $value;
        }
        elseif (is_string($value)) {
            $value   = trim(strtolower($value));
            $enabled = ($value=='1' || $value=='on' || $value=='true');
        }
        if ($enabled && !function_exists('booltostr')) {            // prevent multiple includes
            include(MINISTRUTS_ROOT.'/src/globals.php');
        }
    }
protected function loadGlobals($value) {
        $enabled = false;                                           // default
        if (is_bool($value) || is_int($value)) {
            $enabled = (bool) $value;
        }
        elseif (is_string($value)) {
            $value   = trim(strtolower($value));
            $enabled = ($value=='1' || $value=='on' || $value=='true');
        }
        if ($enabled && !function_exists('booltostr')) {            // prevent multiple includes
            include(MINISTRUTS_ROOT.'/src/globals.php');
        }
    }
protected function loadGlobals ( $ value ) { $ enabled = false ; // default if ( is_bool ( $ value ) || is_int ( $ value ) ) { $ enabled = ( bool ) $ value ; } elseif ( is_string ( $ value ) ) { $ value = trim ( strtolower ( $ value ) ) ; $ enabled = ( $ value == '1' || $ value == 'on' || $ value == 'true' ) ; } if ( $ enabled && ! function_exists ( 'booltostr' ) ) { // prevent multiple includes include ( MINISTRUTS_ROOT . '/src/globals.php' ) ; } }
Map common definitions in namespace "\rosasurfer" to the global namespace.

@param  mixed $value - configuration value as passed to the framework loader
Map common definitions in namespace \ rosasurfer to the global namespace .