Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Merge branch 'release/1.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
florianpircher committed Mar 3, 2017
2 parents 4ae658e + 1f6badf commit f00713c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"description": "File based comments stored as subpages for the Kirby CMS.",
"author": "Florian Pircher <florian@addpixel.net>",
"license": "MIT",
"version": "1.2.1",
"version": "1.2.2",
"type": "kirby-plugin",
"repository": {
"type": "git",
Expand Down
4 changes: 3 additions & 1 deletion plugin/comments.php
Expand Up @@ -100,7 +100,9 @@ function __construct($page)
}
}

session_start();
if (session_status() == PHP_SESSION_NONE) {
session_start();
}
}

// ===========
Expand Down

0 comments on commit f00713c

Please sign in to comment.