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]
/
examples
/
db_connect.php
diff --git
a/examples/db_connect.php
b/examples/db_connect.php
index
ab5b597
..
655e9b9
100644
(file)
--- a/
examples/db_connect.php
+++ b/
examples/db_connect.php
@@
-1,6
+1,6
@@
<?php
-require_once('code/wfpl/db.php');
+require_once(__DIR__.'/'.'code/wfpl/db.php');
# fill in whatever database credentials you need here:
db_connect('database_name', 'username', 'password', 'host');