X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=fdb.php;h=d008cec64f268564b0ec2b3cc6b3656e53ed4e11;hb=47d8b4705be324d466c0c4d12c5f808f0a02d09b;hp=bfc54d65190ec4bea8c7663b8342fb1633a1c98c;hpb=856f805c6cbb6e712c662214f3b5821442f808a0;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) {