Use generic PHPMYADMIN define to avoid CSS exection

It should work pretty much same, but we really don't care which of these
is set for rendering the css.

Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-11-27 16:51:44 +01:00
parent 738f527242
commit 8e94ba3a40
12 changed files with 12 additions and 12 deletions

View File

@ -8,7 +8,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -8,7 +8,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -9,7 +9,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -8,7 +8,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -8,7 +8,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -8,7 +8,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -10,7 +10,7 @@
$theme->getImgPath('pmd/left_panel_butt.png');
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -9,7 +9,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -8,7 +8,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -9,7 +9,7 @@
use PhpMyAdmin\Theme;
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}

View File

@ -10,7 +10,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>

View File

@ -9,7 +9,7 @@
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
exit();
}
?>