public static function prepare($key, $value)
    {
        if ($value == 'true') {
            return true;
        } elseif ($value == 'false') {
            return false;
        } elseif ($key == 'debug.level' && substr($value, 0, 2) == "E_") {
            return eval('return ' . $value . ';');
        } elseif ($key == 'application.path' && ($value === false || $value === 'false' || $value === 'auto')) {
            $sLibraryPath = DS . 'vendor' . DS . 'pabana' . DS . 'pabana' . DS . 'src' . DS . 'Core';
            return str_replace($sLibraryPath, '', __DIR__);
        }
        return $value;
    }
public static function prepare($key, $value)
    {
        if ($value == 'true') {
            return true;
        } elseif ($value == 'false') {
            return false;
        } elseif ($key == 'debug.level' && substr($value, 0, 2) == "E_") {
            return eval('return ' . $value . ';');
        } elseif ($key == 'application.path' && ($value === false || $value === 'false' || $value === 'auto')) {
            $sLibraryPath = DS . 'vendor' . DS . 'pabana' . DS . 'pabana' . DS . 'src' . DS . 'Core';
            return str_replace($sLibraryPath, '', __DIR__);
        }
        return $value;
    }
public static function prepare ( $ key , $ value ) { if ( $ value == 'true' ) { return true ; } elseif ( $ value == 'false' ) { return false ; } elseif ( $ key == 'debug.level' && substr ( $ value , 0 , 2 ) == "E_" ) { return eval ( 'return ' . $ value . ';' ) ; } elseif ( $ key == 'application.path' && ( $ value === false || $ value === 'false' || $ value === 'auto' ) ) { $ sLibraryPath = DS . 'vendor' . DS . 'pabana' . DS . 'pabana' . DS . 'src' . DS . 'Core' ; return str_replace ( $ sLibraryPath , '' , __DIR__ ) ; } return $ value ; }
Prepare a configuration value

This method is used to modify a configuration value
For exemple change 'true' string to true boolean

@since   1.0
@param   string $key Key to prepare
@param   mixed $value Value to prepare.
@return  mixed Value prepared
Prepare a configuration value