diff options
| author | 2018-09-02 13:19:58 +0200 | |
|---|---|---|
| committer | 2018-09-02 13:19:58 +0200 | |
| commit | 32d9c3b7905f4e43ffdf4bf2bf37723cfd18390c (patch) | |
| tree | c2ed9eb08533ae795b1b97718223c6bb614a18e3 /app/install.php | |
| parent | 565e34f7bdcc35d946d10a1840f36f40c6804f62 (diff) | |
Use mb_strcut (#1996)
* Use mb_strcut
Avoid cutting in the middle of a multi-byte UTF-8 character
* Forgotten php5-*
* Typo
* Whitespace
* More mb_strcut
Diffstat (limited to 'app/install.php')
| -rw-r--r-- | app/install.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/install.php b/app/install.php index c30f8d583..100360f82 100644 --- a/app/install.php +++ b/app/install.php @@ -462,6 +462,12 @@ function printStep1() { <p class="alert alert-error"><span class="alert-head"><?php echo _t('gen.short.damn'); ?></span> <?php echo _t('install.check.xml.nok'); ?></p> <?php } ?> + <?php if ($res['mbstring'] == 'ok') { ?> + <p class="alert alert-success"><span class="alert-head"><?php echo _t('gen.short.ok'); ?></span> <?php echo _t('install.check.mbstring.ok'); ?></p> + <?php } else { ?> + <p class="alert alert-warn"><span class="alert-head"><?php echo _t('gen.short.damn'); ?></span> <?php echo _t('install.check.mbstring.nok'); ?></p> + <?php } ?> + <?php if ($res['fileinfo'] == 'ok') { ?> <p class="alert alert-success"><span class="alert-head"><?php echo _t('gen.short.ok'); ?></span> <?php echo _t('install.check.fileinfo.ok'); ?></p> <?php } else { ?> |
