diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-02-20 11:42:18 +0200 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-02-20 11:42:18 +0200 |
commit | 6203ef8e51c8b2712e54a01a183f30d282926b0b (patch) | |
tree | e055f9cf96738f7b8a26caed4893951022527eed /install/index.php | |
parent | e83cf5a7875d1387d79d1909050ff2eca9b4421a (diff) | |
parent | d09a5674e915e79762931a3465461327fb5737ea (diff) | |
download | wallabag-6203ef8e51c8b2712e54a01a183f30d282926b0b.tar.gz wallabag-6203ef8e51c8b2712e54a01a183f30d282926b0b.tar.zst wallabag-6203ef8e51c8b2712e54a01a183f30d282926b0b.zip |
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'install/index.php')
-rw-r--r-- | install/index.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/install/index.php b/install/index.php index 4d7e8cd2..975b997f 100644 --- a/install/index.php +++ b/install/index.php | |||
@@ -172,7 +172,7 @@ else if ($_POST['install']) { | |||
172 | <li><a href="http://www.wallabag.org/">wallabag.org</a></li> | 172 | <li><a href="http://www.wallabag.org/">wallabag.org</a></li> |
173 | </ul> | 173 | </ul> |
174 | <?php if (!empty($errors)) : ?> | 174 | <?php if (!empty($errors)) : ?> |
175 | <div class='install messages error'> | 175 | <div class='messages error install'> |
176 | <p>Errors during installation:</p> | 176 | <p>Errors during installation:</p> |
177 | <p> | 177 | <p> |
178 | <ul> | 178 | <ul> |
@@ -185,7 +185,7 @@ else if ($_POST['install']) { | |||
185 | </div> | 185 | </div> |
186 | <?php endif; ?> | 186 | <?php endif; ?> |
187 | <?php if (!empty($successes)) : ?> | 187 | <?php if (!empty($successes)) : ?> |
188 | <div class='install messages success'> | 188 | <div class='messages success install'> |
189 | <p> | 189 | <p> |
190 | <ul> | 190 | <ul> |
191 | <?php foreach($successes as $success) :?> | 191 | <?php foreach($successes as $success) :?> |
@@ -194,6 +194,14 @@ else if ($_POST['install']) { | |||
194 | </ul> | 194 | </ul> |
195 | </p> | 195 | </p> |
196 | </div> | 196 | </div> |
197 | <?php else : ?> | ||
198 | <?php if (file_exists('inc/poche/config.inc.php') && is_dir('vendor')) : ?> | ||
199 | <div class='messages success install'> | ||
200 | <p> | ||
201 | wallabag seems already installed. If you want to update it, you only have to delete install folder. | ||
202 | </p> | ||
203 | </div> | ||
204 | <?php endif; ?> | ||
197 | <?php endif; ?> | 205 | <?php endif; ?> |
198 | <p>To install wallabag, you just have to fill the following fields. That's all.</p> | 206 | <p>To install wallabag, you just have to fill the following fields. That's all.</p> |
199 | <p>Don't forget to check your server compatibility <a href="wallabag_compatibility_test.php">here</a>.</p> | 207 | <p>Don't forget to check your server compatibility <a href="wallabag_compatibility_test.php">here</a>.</p> |
@@ -201,7 +209,7 @@ else if ($_POST['install']) { | |||
201 | <fieldset> | 209 | <fieldset> |
202 | <legend><strong>Technical settings</strong></legend> | 210 | <legend><strong>Technical settings</strong></legend> |
203 | <?php if (!is_dir('vendor')) : ?> | 211 | <?php if (!is_dir('vendor')) : ?> |
204 | <div class='install messages notice'>wallabag needs twig, a template engine (<a href="http://twig.sensiolabs.org/">?</a>). Two ways to install it: | 212 | <div class='messages notice install'>wallabag needs twig, a template engine (<a href="http://twig.sensiolabs.org/">?</a>). Two ways to install it: |
205 | <ul> | 213 | <ul> |
206 | <li>automatically download and extract vendor.zip into your wallabag folder. | 214 | <li>automatically download and extract vendor.zip into your wallabag folder. |
207 | <p><input type="submit" name="download" value="Download vendor.zip" /></p> | 215 | <p><input type="submit" name="download" value="Download vendor.zip" /></p> |