RewriteCond %{HTTP_HOST} ws.fluidbook.com\r
RewriteRule ^(.*)$ https://workshop.fluidbook.com/$1 [R=301,L]\r
\r
+ RewriteCond %{HTTP_HOST} ^workshop.fluidbook.com\r
+ RewriteCond %{HTTP_USER_AGENT} Chrome/87\r
+ RewriteRule ^(.*)$ https://exe.workshop.fluidbook.com/$1 [R=301,L]\r
+\r
RewriteCond %{HTTPS} off\r
RewriteCond %{HTTP_HOST} workshop.fluidbook.com\r
RewriteCond %{REQUEST_URI} !^/s/\r
$res .= '<div id="welcome"' . $class . '>' . __('Bienvenue') . ' ' . $core->user->prenom . ' ' . $core->user->nom . ' ';\r
$res .= '| <a href="#" class="popup" rel="mesParametres">' . __('Mes paramètres') . '</a> ';\r
$res .= '| <a href="' . SITE_PATH . 'logout">' . __('Se déconnecter') . '</a>';\r
+ //$res .= '| <a href="' . SITE_PATH . 'info.php">i</a>';\r
if ($search) {\r
$res .= ' | ';\r
}\r
function before_session_start()
{
- if (isset($_SERVER['PATH_INFO']) && stristr($_SERVER['PATH_INFO'], 'relay')) {
- ini_set('redis.session.locking_enabled', 0);
+ if (isset($_SERVER['PATH_INFO'])) {
+ header('X-Pathinfo:'. $_SERVER['PATH_INFO']);
+ if (stristr($_SERVER['PATH_INFO'], 'relay') || stristr($_SERVER['PATH_INFO'], 'viewerh')) {
+ ini_set('redis.session.locking_enabled', 0);
+ }
}
}
<?php\r
//echo base64_encode(sodium_crypto_secretbox_keygen());\r
+var_dump(ini_set('redis.session.locking_enabled', 0));\r
trigger_error('test');\r
phpinfo();\r
?>
\ No newline at end of file