Mercurial > hg > ywww
diff php/read/getAllSavedBooks.php @ 49:a67bf725e87b
put both paths in include_path and depend on that
author | Charlie Root |
---|---|
date | Wed, 16 Jan 2019 13:42:15 -0500 |
parents | d606320ec331 |
children |
line wrap: on
line diff
--- a/php/read/getAllSavedBooks.php Sun Jan 06 12:46:24 2019 -0500 +++ b/php/read/getAllSavedBooks.php Wed Jan 16 13:42:15 2019 -0500 @@ -2,11 +2,11 @@ if(isset($ret)) { - include "../../private/db.php"; + include "db.php"; } else { - include "../../../private/db.php"; + include "db.php"; } $savedBooks = 0;