projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29e9a79
)
Add an additional way to fetch the basepath (See pull request 2161)
author
Michael Vogel
<icarus@dabo.de>
Tue, 8 Dec 2015 07:17:29 +0000
(08:17 +0100)
committer
Michael Vogel
<icarus@dabo.de>
Tue, 8 Dec 2015 07:17:29 +0000
(08:17 +0100)
boot.php
patch
|
blob
|
history
diff --git
a/boot.php
b/boot.php
index 0f4cacb5fd37bd36089995ff2e62aee9a52cdafa..6759e805f245ab4e994278d6b98a5885ee3c4277 100644
(file)
--- a/
boot.php
+++ b/
boot.php
@@
-640,6
+640,9
@@
if(! class_exists('App')) {
if ($basepath == "")
$basepath = $_SERVER["PWD"];
+ if ($basepath == "")
+ $basepath = dirname(__FILE__);
+
return($basepath);
}