diff options
author | Camil Staps | 2016-08-01 11:30:19 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-01 11:30:19 +0200 |
commit | 8ee4336d778b2bdc1b8ba522d9251a4f664fe664 (patch) | |
tree | d704f32ee80088ba639ab51e5011932f9d45c747 /include/discounts-edit.php | |
parent | Braintree status history (diff) |
Require paths
Diffstat (limited to 'include/discounts-edit.php')
-rw-r--r-- | include/discounts-edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/discounts-edit.php b/include/discounts-edit.php index 94f4c29..5c3ce8f 100644 --- a/include/discounts-edit.php +++ b/include/discounts-edit.php @@ -17,8 +17,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -require_once('./conf.php'); -require_once('./login-ajax.php'); +require_once(__DIR__ . '/../conf.php'); +require_once(__DIR__ . '/../login-ajax.php'); $response = new Response(); $response->success = true; |