X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/cf941ae99da318ea8ee2aac11eaa68cc56405293..3144e63d99a9ddbb0d9c4d568a12747c83fce158:/dbinstall.php
diff --git a/dbinstall.php b/dbinstall.php
index b35d3524..34f3a8b5 100644
--- a/dbinstall.php
+++ b/dbinstall.php
@@ -45,6 +45,13 @@ function setChange($sql) {
if (!$request->isPost()) {
echo('
Environment check
');
+ // Check if WEB-INF/templates_c dir is writable.
+ if (is_writable(APP_DIR.'/WEB-INF/templates_c/')) {
+ echo('WEB-INF/templates_c/ directory is writable.
');
+ } else {
+ echo('Error: WEB-INF/templates_c/ directory is not writable.
');
+ }
+
// Require the configuration file with application settings.
if (file_exists(APP_DIR."/WEB-INF/config.php")) {
echo('WEB-INF/config.php file exists.
');