diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-01-25 17:57:09 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-01-25 17:57:09 +0100 |
commit | f7c50e28dbd637b3b60c6aea0fac3768f8f59f05 (patch) | |
tree | df0e68dc3d7f6df13473b5f5a717805af0c04c92 /installer | |
parent | 39f883e1f9fab83a47b76fb4802c2d01fa9c4e76 (diff) | |
parent | 00a6b75622fb49dfe84173b04f8353fbc4216c9c (diff) |
Merge branch 'release-0.8' of github.com:roundcube/roundcubemail into release-0.8
Diffstat (limited to 'installer')
-rw-r--r-- | installer/check.php | 7 | ||||
-rw-r--r-- | installer/config.php | 7 | ||||
-rw-r--r-- | installer/rcube_install.php | 7 | ||||
-rw-r--r-- | installer/test.php | 7 |
4 files changed, 27 insertions, 1 deletions
diff --git a/installer/check.php b/installer/check.php index 5cb30225e..514ec42a9 100644 --- a/installer/check.php +++ b/installer/check.php @@ -1,3 +1,10 @@ +<?php + +if (!class_exists('rcube_install') || !is_object($RCI)) { + die("Not allowed! Please open installer/index.php instead."); +} + +?> <form action="index.php" method="get"> <?php diff --git a/installer/config.php b/installer/config.php index bd676b12e..41aa36e10 100644 --- a/installer/config.php +++ b/installer/config.php @@ -1,3 +1,10 @@ +<?php + +if (!class_exists('rcube_install') || !is_object($RCI)) { + die("Not allowed! Please open installer/index.php instead."); +} + +?> <form action="index.php" method="post"> <input type="hidden" name="_step" value="2" /> <?php diff --git a/installer/rcube_install.php b/installer/rcube_install.php index 2688bd721..6c6555f91 100644 --- a/installer/rcube_install.php +++ b/installer/rcube_install.php @@ -251,7 +251,12 @@ class rcube_install $seen[$prop] = true; } } - + + // the old default mime_magic reference is obsolete + if ($this->config['mime_magic'] == '/usr/share/misc/magic') { + $out['obsolete'][] = array('prop' => 'mime_magic', 'explain' => "Set value to null in order to use system default"); + } + // iterate over default config foreach ($defaults as $prop => $value) { if (!isset($seen[$prop]) && isset($required[$prop]) && !(is_bool($this->config[$prop]) || strlen($this->config[$prop]))) diff --git a/installer/test.php b/installer/test.php index 2dd330531..b8b60cf3d 100644 --- a/installer/test.php +++ b/installer/test.php @@ -1,3 +1,10 @@ +<?php + +if (!class_exists('rcube_install') || !is_object($RCI)) { + die("Not allowed! Please open installer/index.php instead."); +} + +?> <form action="index.php?_step=3" method="post"> <h3>Check config files</h3> |