X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=8b578832c9a77780f96e8788a93261ae4a91e200;hb=06e1a9a98a1d7276e23ba47a15225a1a0741dd2d;hp=7ded3bdbc09862917b21ca09f3774484474e6a18;hpb=792097fb6a6507201ec41f90201ad05ad8c38870;p=github%2Fwallabag%2Fwallabag.git diff --git a/index.php b/index.php old mode 100644 new mode 100755 index 7ded3bdb..8b578832 --- a/index.php +++ b/index.php @@ -8,10 +8,13 @@ * @license http://www.wtfpl.net/ see COPYING file */ -define ('POCHE', '1.5.0'); +define ('POCHE', '1.5.3'); 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(); @@ -30,14 +33,14 @@ $tpl_vars = array( 'referer' => $referer, 'view' => $view, 'poche_url' => Tools::getPocheUrl(), - 'title' => _('poche, a read it later open source system'), + 'title' => _('wallabag, a read it later open source system'), 'token' => Session::getToken(), 'theme' => $poche->getTheme() ); 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 '