aboutsummaryrefslogtreecommitdiff
path: root/app/class/model.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-23 18:20:57 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-23 18:20:57 +0100
commite8566a57cf1b9cc2eed10429f27840d17da945ef (patch)
tree9902d9f4dc2e871819af21ede642e50aaab1518b /app/class/model.php
parent532cdf4bb82ab7cc6fa7659d9aec3ce122b2ec52 (diff)
downloadwcms-e8566a57cf1b9cc2eed10429f27840d17da945ef.tar.gz
wcms-e8566a57cf1b9cc2eed10429f27840d17da945ef.zip
feature users
Diffstat (limited to 'app/class/model.php')
-rw-r--r--app/class/model.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/class/model.php b/app/class/model.php
index ee8de26..770a8f5 100644
--- a/app/class/model.php
+++ b/app/class/model.php
@@ -17,6 +17,8 @@ abstract class Model
const TEXT_ELEMENTS = ['header', 'nav', 'main', 'aside', 'footer'];
const EDIT_SYMBOLS = ['pen', 'tool', 'none'];
+ const MAX_ID_LENGTH = 64;
+
public static function dirtopath($dir)
{
$basepath = '';