Don't use system include path
Sometimes systems have _old_ DB_DataObject classes lying around that get included by default, so we just try to avoid anything that we don't ship ourselves. <MMN-o> BeS: I'll commit a patch that will make this issue go away <BeS> MMN-o: that would be awesome! <MMN-o> but it might upset bashrc who's working on a Debian package (where you're _supposed_ to include from /usr/php etc. :P) <MMN-o> but I'll leave a comment along with it
This commit is contained in:
parent
6b31feb70f
commit
5b11238010
@ -40,6 +40,12 @@
|
||||
$_startTime = microtime(true);
|
||||
$_perfCounters = array();
|
||||
|
||||
// We provide all our dependencies through our own autoload.
|
||||
// This will probably be configurable for distributing with
|
||||
// system packages (like with Debian apt etc. where included
|
||||
// libraries are maintained through repositories)
|
||||
set_include_path('.'); // mainly fixes an issue where /usr/share/{pear,php*}/DB/DataObject.php is _old_ on various systems...
|
||||
|
||||
define('INSTALLDIR', dirname(__FILE__));
|
||||
define('GNUSOCIAL', true);
|
||||
define('STATUSNET', true); // compatibility
|
||||
|
Loading…
Reference in New Issue
Block a user