X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=7f72b14699e8e334c4101e7680dd63d4c4cd70a9;hb=refs%2Fpull%2F609%2Fhead;hp=ecae911983ef77f92312a149037b0fae5e4f69fe;hpb=31a10069a52c2fd2aca3a835a7bdc1accae197f5;p=github%2Fwallabag%2Fwallabag.git diff --git a/index.php b/index.php old mode 100644 new mode 100755 index ecae9119..7f72b146 --- a/index.php +++ b/index.php @@ -8,10 +8,13 @@ * @license http://www.wtfpl.net/ see COPYING file */ -define ('POCHE', '1.5.3'); +define ('POCHE', '1.6.0'); require 'check_setup.php'; require_once 'inc/poche/global.inc.php'; -session_start(); + +# Start session +Session::$sessionName = 'poche'; +Session::init(); # Start Poche $poche = new Poche(); @@ -37,7 +40,7 @@ $tpl_vars = array( if (! empty($notInstalledMessage)) { if (! Poche::$canRenderTemplates || ! Poche::$configFileAvailable) { - # We cannot use Twig to display the error message + # We cannot use Twig to display the error message echo '