Browse Source

Bug fix for setups on the root URI/directory (/)

pull/40/head
******* ****** 14 years ago
parent
commit
0a6aab860a
  1. 2
      test.php

2
test.php

@ -58,7 +58,7 @@
// Configuration
title('Configuration');
$root = dirname($_SERVER['REQUEST_URI']) . '/';
$root = dirname($_SERVER['REQUEST_URI']) . (dirname($_SERVER['REQUEST_URI']) == '/' ? '' : '/');
if(ROOT != $root) {
$body .= check('Correct document root.', 'error');
$todo[] = "instance-config.php: Change ROOT to '{$root}'";

Loading…
Cancel
Save