JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
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/>.
 
 
-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
 #