]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fix the default value of ['server']['path'] when running from command line scripts
authorFrancois Marier <francois@debian.org>
Thu, 20 Aug 2009 05:46:26 +0000 (17:46 +1200)
committerFrancois Marier <francois@debian.org>
Thu, 20 Aug 2009 05:46:26 +0000 (17:46 +1200)
commit986d95b31eeb4a56cb39f308b1e5a5aac2b2d04b
tree3adeadbb573d70e54b5c271048495a8d281812fc
parentd647483a27faad7bf5297255a68b6b3b82426b88
Fix the default value of ['server']['path'] when running from command line scripts

The logic in _sn_to_path() doesn't make sense when not running via a remote server.

Default to the empty string if running from the command line and ['server']['path']
is not set manually in config.php
lib/common.php