aboutsummaryrefslogtreecommitdiff
path: root/app/class/Controllerpage.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-02-06 13:31:03 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-02-06 13:31:03 +0100
commit1aa2b136656e42d8523d31f79e9cc1321c1dbba9 (patch)
tree35f87babbe2b95e6930b7c46058ef4a4634d362b /app/class/Controllerpage.php
parentf3bc327be7be8a1aeeb49c7f46c86628e5d52e77 (diff)
downloadwcms-1aa2b136656e42d8523d31f79e9cc1321c1dbba9.tar.gz
wcms-1aa2b136656e42d8523d31f79e9cc1321c1dbba9.zip
BREACKING CHANGE : MOVE PAGES DB
Diffstat (limited to 'app/class/Controllerpage.php')
-rw-r--r--app/class/Controllerpage.php2
1 files changed, 1 insertions, 1 deletions
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');