|
@@ -54,7 +54,7 @@ error_reporting(E_ALL);
|
|
*/
|
|
*/
|
|
|
|
|
|
// Set the full path to the docroot
|
|
// Set the full path to the docroot
|
|
-define('DOCROOT', realpath('../').DIRECTORY_SEPARATOR);
|
|
|
|
|
|
+define('DOCROOT', realpath(__DIR__.'/../').DIRECTORY_SEPARATOR);
|
|
|
|
|
|
// Make the application relative to the docroot, for symlink'd index.php
|
|
// Make the application relative to the docroot, for symlink'd index.php
|
|
if ( ! is_dir($application) AND is_dir(DOCROOT.$application))
|
|
if ( ! is_dir($application) AND is_dir(DOCROOT.$application))
|