diff options
author | Evan Prodromou <evan@status.net> | 2009-11-17 19:35:45 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-17 19:35:45 -0500 |
commit | e3123be350f73e9a9698e864e4e94bb0b4dfe464 (patch) | |
tree | 204006c3ed3bcac5775cda497aad878eb3eb1e83 /lib/common.php | |
parent | bcb49b00004e1f01c1096e42ba05f12951517891 (diff) | |
parent | 63ebb033bf5a991eefdfb0cfff25eed8629a9365 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/common.php')
-rw-r--r-- | lib/common.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php index 063d7d9d9..203b37c87 100644 --- a/lib/common.php +++ b/lib/common.php @@ -83,6 +83,9 @@ function _sn_to_path($sn) return $p; } +// Save our sanity when code gets loaded through subroutines such as PHPUnit tests +global $default, $config, $_server, $_path; + // try to figure out where we are. $server and $path // can be set by including module, else we guess based // on HTTP info. |