Skip to content

Commit

Permalink
some follow ups for latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoch committed Sep 2, 2012
1 parent 382c98a commit 184ef2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Clansuite/Application.php
Expand Up @@ -120,7 +120,7 @@ private static function perform_startup_checks()
* Check if clansuite config file is found, else we are
* not installed at all and redirect to installation page.
*/
if (is_file('Application/Configuration/clansuite.php') === false) {
if (is_file(__DIR__.'/Configuration/clansuite.php') === false) {
header('Location: Installation/index.php');
}
}
Expand Down Expand Up @@ -254,9 +254,9 @@ public static function define_ConstantsAndPaths()
* @var WWW_ROOT is a complete www-path with servername from SERVER_URL, depending on os-system
*/
if (dirname($_SERVER['PHP_SELF']) === '\\') {
define('WWW_ROOT', SERVER_URL . '/Application/');
define('WWW_ROOT', SERVER_URL . '/Clansuite/');
} else {
define('WWW_ROOT', SERVER_URL . dirname($_SERVER['PHP_SELF']) . '/Application/');
define('WWW_ROOT', SERVER_URL . dirname($_SERVER['PHP_SELF']) . '/Clansuite/');
}

/**
Expand Down

0 comments on commit 184ef2d

Please sign in to comment.