summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-07-23 14:07:58 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-07-23 14:07:58 +0200
commit0396dee7304c616ecb60c048d4013f917a7087f4 (patch)
tree26749f0a044beb5a8de12d73ae032ad08e6ee1e7
parentba6465e310a5cb537cc46c2ed483e55ea9949cd0 (diff)
downloadsemanticscuttle-0396dee7304c616ecb60c048d4013f917a7087f4.tar.gz
semanticscuttle-0396dee7304c616ecb60c048d4013f917a7087f4.tar.bz2
fix typo
-rw-r--r--src/SemanticScuttle/constants.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/constants.php b/src/SemanticScuttle/constants.php
index f8567d9..11ab0da 100644
--- a/src/SemanticScuttle/constants.php
+++ b/src/SemanticScuttle/constants.php
@@ -74,7 +74,7 @@ if (isset($_SERVER['PATH_INFO']) && isset($_SERVER['ORIG_PATH_INFO'])) {
if (strlen($_SERVER["PATH_INFO"])<strlen($_SERVER["ORIG_PATH_INFO"])) {
$_SERVER["PATH_INFO"] = $_SERVER["ORIG_PATH_INFO"];
}
- if (strcasecmp($_SERVER["PATH_INFO"], $_SERVER["SCRIPT_NAME "]) == 0) {
+ if (strcasecmp($_SERVER["PATH_INFO"], $_SERVER["SCRIPT_NAME"]) == 0) {
unset($_SERVER["PATH_INFO"]);
}
if (strpos($_SERVER["PATH_INFO"], '.php') !== false) {