mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix pathinfo?
git-svn-id: http://www.observium.org/svn/observer/trunk@2531 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -4,3 +4,6 @@ RewriteEngine on
|
||||
RewriteBase /
|
||||
RewriteCond %{REQUEST_URI} !\.(js|ico|txt|gif|jpg|png|css|php)
|
||||
RewriteRule ^(.*)$ index.php/$1/
|
||||
|
||||
SetOutputFilter INCLUDES
|
||||
AcceptPathInfo On
|
||||
|
@@ -5,6 +5,8 @@ ob_start();
|
||||
ini_set('allow_url_fopen', 0);
|
||||
ini_set('display_errors', 0);
|
||||
|
||||
#$_SERVER['PATH_INFO'] = (isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : $_SERVER['ORIG_PATH_INFO']);
|
||||
|
||||
if (strpos($_SERVER['PATH_INFO'], "debug"))
|
||||
{
|
||||
$debug = "1";
|
||||
|
Reference in New Issue
Block a user