From 1aa2b136656e42d8523d31f79e9cc1321c1dbba9 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 6 Feb 2020 13:31:03 +0100 Subject: BREACKING CHANGE : MOVE PAGES DB --- app/class/Controllerpage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/class/Controllerpage.php') diff --git a/app/class/Controllerpage.php b/app/class/Controllerpage.php index cfab5d3..b214eea 100644 --- a/app/class/Controllerpage.php +++ b/app/class/Controllerpage.php @@ -255,7 +255,7 @@ class Controllerpage extends Controller { if($this->user->isadmin()) { - $file = Model::DATABASE_DIR . Config::pagetable() . DIRECTORY_SEPARATOR . $id . '.json'; + $file = Model::PAGES_DIR . Config::pagetable() . DIRECTORY_SEPARATOR . $id . '.json'; if (file_exists($file)) { header('Content-Description: File Transfer'); -- cgit v1.2.3