aboutsummaryrefslogtreecommitdiff
path: root/app/class/controllerart.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-22 19:33:10 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-22 19:33:10 +0100
commit532cdf4bb82ab7cc6fa7659d9aec3ce122b2ec52 (patch)
tree801e0385f82d4e7e7888a80da645ef511cb1379e /app/class/controllerart.php
parent0e95eb5121b2f4be63591705c367a0de10046133 (diff)
downloadwcms-532cdf4bb82ab7cc6fa7659d9aec3ce122b2ec52.tar.gz
wcms-532cdf4bb82ab7cc6fa7659d9aec3ce122b2ec52.zip
bug fix : medi preg match
Diffstat (limited to 'app/class/controllerart.php')
-rw-r--r--app/class/controllerart.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/class/controllerart.php b/app/class/controllerart.php
index 8511243..7bc8c23 100644
--- a/app/class/controllerart.php
+++ b/app/class/controllerart.php
@@ -202,6 +202,13 @@ class Controllerart extends Controller
$_SESSION['workspace']['showrightpanel'] = isset($_POST['workspace']['showrightpanel']);
$_SESSION['workspace']['showleftpanel'] = isset($_POST['workspace']['showleftpanel']);
+ if(!empty($_POST['fontsize']) && $_POST['fontsize'] !== Config::fontsize()) {
+ Config::setfontsize($_POST['fontsize']);
+ Config::savejson();
+ }
+
+
+
$date = new DateTimeImmutable($_POST['pdate'] . $_POST['ptime'], new DateTimeZone('Europe/Paris'));
$date = ['date' => $date];