diff options
author | Friendika <info@friendika.com> | 2010-12-23 14:40:32 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-12-23 14:40:32 -0800 |
commit | c55cb45855ede35e593f6a1ed5e5878144cf0ad0 (patch) | |
tree | 6779dd94c7bd466330839f61658a9d31170db296 /boot.php | |
parent | 68868fd74bbc6a6f2268b6c5467ccf9e025af011 (diff) | |
download | volse-hubzilla-c55cb45855ede35e593f6a1ed5e5878144cf0ad0.tar.gz volse-hubzilla-c55cb45855ede35e593f6a1ed5e5878144cf0ad0.tar.bz2 volse-hubzilla-c55cb45855ede35e593f6a1ed5e5878144cf0ad0.zip |
revised openid patch, added fix for Windows servers, make "is now friends with" commentable, fix settings form hook to be inside form
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ set_time_limit(0); -define ( 'BUILD_ID', 1028 ); +define ( 'BUILD_ID', 1029 ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "<br />\r\n" ); @@ -211,14 +211,14 @@ class App { if((x($_SERVER,'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'],0,2) === "q=") $this->query_string = substr($_SERVER['QUERY_STRING'],2); if(x($_GET,'q')) - $this->cmd = trim($_GET['q'],'/'); + $this->cmd = trim($_GET['q'],'/\\'); /** * Figure out if we are running at the top of a domain * or in a sub-directory and adjust accordingly */ - $path = trim(dirname($_SERVER['SCRIPT_NAME']),'/'); + $path = trim(dirname($_SERVER['SCRIPT_NAME']),'/\\'); if(isset($path) && strlen($path) && ($path != $this->path)) $this->path = $path; |