diff --git a/ChangeLog b/ChangeLog index e0b3850769..148aeb853e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -36,6 +36,7 @@ phpMyAdmin - ChangeLog - issue #12479 Simplified validation of external links - issue #12483 Fix browsing tables with built in transformations - issue #12485 Do not show warning about short blowfish_secret if none is set +- issue #12251 Fixed random logouts due to wrong cookie path 4.6.4 (2016-08-16) - issue [security] Weaknesses with cookie encryption, see PMASA-2016-29 diff --git a/js/get_image.js.php b/js/get_image.js.php index 0ec50a3728..5d8fc5480a 100644 --- a/js/get_image.js.php +++ b/js/get_image.js.php @@ -17,6 +17,7 @@ if (!defined('TESTSUITE')) { // Avoid loading the full common.inc.php because this would add many // non-js-compatible stuff like DOCTYPE define('PMA_MINIMUM_COMMON', true); + define('PMA_PATH_TO_BASEDIR', '../'); require_once './libraries/common.inc.php'; } diff --git a/js/get_scripts.js.php b/js/get_scripts.js.php index a398c69bdd..1edbc143f7 100644 --- a/js/get_scripts.js.php +++ b/js/get_scripts.js.php @@ -25,6 +25,7 @@ if (!defined('TESTSUITE')) { // Avoid loading the full common.inc.php because this would add many // non-js-compatible stuff like DOCTYPE define('PMA_MINIMUM_COMMON', true); + define('PMA_PATH_TO_BASEDIR', '../'); require_once './libraries/common.inc.php'; } diff --git a/js/whitelist.php b/js/whitelist.php index 2fb3aca201..b9ebf4eb77 100644 --- a/js/whitelist.php +++ b/js/whitelist.php @@ -19,6 +19,7 @@ if (!defined('TESTSUITE')) { // Avoid loading the full common.inc.php because this would add many // non-js-compatible stuff like DOCTYPE define('PMA_MINIMUM_COMMON', true); + define('PMA_PATH_TO_BASEDIR', '../'); require_once './libraries/common.inc.php'; // Close session early as we won't write anything there session_write_close();