X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=fdb.php;h=d008cec64f268564b0ec2b3cc6b3656e53ed4e11;hb=571c58fff7b139f590b5c4862761092bc1045436;hp=bfc54d65190ec4bea8c7663b8342fb1633a1c98c;hpb=6f87f35266423cf9292fa3d456821413a313e188;p=wfpl.git diff --git a/fdb.php b/fdb.php index bfc54d6..d008cec 100644 --- a/fdb.php +++ b/fdb.php @@ -29,8 +29,8 @@ # fdb_set_dir() passing the path to that directory. -require_once('code/wfpl/file.php'); -require_once('code/wfpl/binary.php'); +require_once(__DIR__ . '/file.php'); +require_once(__DIR__ . '/binary.php'); # call this to set what directory is used to store the files function fdb_set_dir($dir) {