From: www-data Date: Fri, 6 Oct 2023 07:13:50 +0000 (+0200) Subject: Fixed container center on wide screen X-Git-Url: https://git.ebersold.fr/?a=commitdiff_plain;h=HEAD;p=www%2Fcommon%2Fphplib.git Fixed container center on wide screen --- diff --git a/class.page.php b/class.page.php index e7053e4..13ab16e 100644 --- a/class.page.php +++ b/class.page.php @@ -204,7 +204,7 @@ FIN; } function show () { $this->_HtmlHeader(); - echo "
\n"; + echo "
\n"; echo "
"; if ($this->_layout_class != "") echo "
\n"; /* end layout */ diff --git a/class.session.php b/class.session.php index 319ad19..7c05a75 100644 --- a/class.session.php +++ b/class.session.php @@ -15,7 +15,7 @@ class Session { if ($_opaqueDb != null) { $this->opaqueDb = $_opaqueDb; } - $this->timeout = 1800; + $this->timeout = 3600; // 1 hours or else it's too fast $this->user_id = (array_key_exists('user_id',$_SESSION))?$_SESSION['user_id']:""; $this->user_name = (isset($_SESSION['user_name']))?$_SESSION['user_name']:"" ; $this->user_prenom= (isset($_SESSION['user_prenom']))?$_SESSION['user_prenom']:"" ;