diff options
author | Christian Weiske <cweiske@cweiske.de> | 2010-10-07 18:59:27 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2010-10-07 18:59:27 +0200 |
commit | b812deefa1ab85c542c13dc97432ca2fe90958f1 (patch) | |
tree | 166c078fa8691ab652b1438c9b03eaebb38a349f /src | |
parent | 24e344f7879a932cc9a5a3491d460a05651c08a3 (diff) | |
download | semanticscuttle-b812deefa1ab85c542c13dc97432ca2fe90958f1.tar.gz semanticscuttle-b812deefa1ab85c542c13dc97432ca2fe90958f1.tar.bz2 |
give admin tags a link href :)
Diffstat (limited to 'src')
-rw-r--r-- | src/SemanticScuttle/constants.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SemanticScuttle/constants.php b/src/SemanticScuttle/constants.php index 95c4384..aebc059 100644 --- a/src/SemanticScuttle/constants.php +++ b/src/SemanticScuttle/constants.php @@ -17,7 +17,9 @@ if (!isset($GLOBALS['root'])) { $rootTmp = '/'; foreach ($pieces as $piece) { //we eliminate possible sscuttle subfolders (like gsearch for example) - if ($piece != '' && !strstr($piece, '.php') && $piece != 'gsearch') { + if ($piece != '' && !strstr($piece, '.php') + && $piece != 'gsearch' && $piece != 'ajax' + ) { $rootTmp .= $piece .'/'; } } |