Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix require_once paths
[wfpl.git]
/
db.php
diff --git
a/db.php
b/db.php
index
1bf78fd
..
b1faf2c
100644
(file)
--- a/
db.php
+++ b/
db.php
@@
-16,8
+16,8
@@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-require_once('code/wfpl/encode.php');
-require_once('code/wfpl/format.php');
+require_once(__DIR__ . '/encode.php');
+require_once(__DIR__ . '/format.php');
# db_connect() -- connect to a mysql database
#
# db_connect() -- connect to a mysql database
#