JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix require_once() paths
[wfpl.git] / examples / db_connect.php
index ab5b597..655e9b9 100644 (file)
@@ -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');