diff options
author | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:36:17 +0100 |
---|---|---|
committer | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:36:17 +0100 |
commit | 138865bbde25bb6193930c98e30c33913d19e367 (patch) | |
tree | 626e8e26dd4f4776ce9f8cd743987f08377127ed /admin/logout.php | |
parent | 5f2b708377aec4bc5f1d731dfbb50557552d0482 (diff) | |
download | planet-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.php | 2 |
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(); |