Adding syntax highlighter to base.html
Pre fix for issue 53 Fixing issue 60
This commit is contained in:
@@ -62,8 +62,8 @@ class Pluf_HTTP_URL
|
||||
if (isset($_GET['_pluf_action'])) {
|
||||
return $_GET['_pluf_action'];
|
||||
}
|
||||
return (isset($_SERVER['PATH_INFO'])) ?
|
||||
$_SERVER['PATH_INFO'] : '/';
|
||||
return (isset($_SERVER['REDIRECT_URL'])) ?
|
||||
$_SERVER['REDIRECT_URL'] : '/';
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -70,7 +70,7 @@ class Pluf_Translation
|
||||
|
||||
public static function getLocale()
|
||||
{
|
||||
return $GLOBALS['_PX_current_locale'];
|
||||
return (isset($GLOBALS['_PX_current_locale'])) ? $GLOBALS['_PX_current_locale'] : "en";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user