Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/index.php b/index.php
index 25a0699904..2e8d62037c 100644
--- a/index.php
+++ b/index.php
@@ -601,6 +601,17 @@ if ($cfg['SuhosinDisableWarning'] == false
);
}
+/* Missing template cache */
+if (is_null($GLOBALS['PMA_Config']->getTempDir('twig'))) {
+ trigger_error(
+ sprintf(
+ __('The $cfg[\'TempDir\'] (%s) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.'),
+ $GLOBALS['PMA_Config']->get('TempDir')
+ ),
+ E_USER_WARNING
+ );
+}
+
/**
* Warning about incomplete translations.
*