summaryrefslogtreecommitdiffstats
path: root/admin/logout.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rdalverny@gmail.com>2022-01-11 12:36:17 +0100
committerRomain d'Alverny <rdalverny@gmail.com>2022-01-11 12:36:17 +0100
commit138865bbde25bb6193930c98e30c33913d19e367 (patch)
tree626e8e26dd4f4776ce9f8cd743987f08377127ed /admin/logout.php
parent5f2b708377aec4bc5f1d731dfbb50557552d0482 (diff)
downloadplanet-138865bbde25bb6193930c98e30c33913d19e367.tar
planet-138865bbde25bb6193930c98e30c33913d19e367.tar.gz
planet-138865bbde25bb6193930c98e30c33913d19e367.tar.bz2
planet-138865bbde25bb6193930c98e30c33913d19e367.tar.xz
planet-138865bbde25bb6193930c98e30c33913d19e367.zip
Install code QA helpers, enforce PSR2
Installs phpcs, phpmd, parallel-lint, phpstan.
Diffstat (limited to 'admin/logout.php')
-rw-r--r--admin/logout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/logout.php b/admin/logout.php
index adb843f..88c60b3 100644
--- a/admin/logout.php
+++ b/admin/logout.php
@@ -2,7 +2,7 @@
require_once __DIR__ . '/../app/app.php';
-setcookie('auth','', time()-3600);
+setcookie('auth', '', time() - 3600);
session_destroy();
session_regenerate_id();