X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=db.php;h=b1faf2c32440ca617204c93e28a708aff4f80554;hb=571c58fff7b139f590b5c4862761092bc1045436;hp=1bf78fd6c868093b2ebc25d610dea0be4c7354fb;hpb=6f87f35266423cf9292fa3d456821413a313e188;p=wfpl.git diff --git a/db.php b/db.php index 1bf78fd..b1faf2c 100644 --- a/db.php +++ b/db.php @@ -16,8 +16,8 @@ # along with this program. If not, see . -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 #