Overview
Comment: | Copie de fonctions utiles depuis l'admin pour l'installation |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
c9610f40c67fe67eb6158cd37ffa4f69 |
User & Date: | bohwaz on 2017-09-08 04:41:35 |
Other Links: | branch diff | manifest | tags |
Context
2017-09-08
| ||
04:43 | Création de fichier pour la release check-in: 63ca883e93 user: bohwaz tags: dev | |
04:41 | Copie de fonctions utiles depuis l'admin pour l'installation check-in: c9610f40c6 user: bohwaz tags: dev | |
04:41 | À l'installation $config n'existe pas encore check-in: bb62b015be user: bohwaz tags: dev | |
Changes
Modified src/www/admin/install.php from [42229607cb] to [5a0a032cc4].
︙ | ︙ | |||
93 94 95 96 97 98 99 100 101 | if (file_exists($old_file)) { rename($old_file, DB_FILE); Utils::redirect('/admin/upgrade.php'); } } $tpl = Template::getInstance(); | > > > > > > > | | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | if (file_exists($old_file)) { rename($old_file, DB_FILE); Utils::redirect('/admin/upgrade.php'); } } function f($key) { return \KD2\Form::get($key); } $tpl = Template::getInstance(); $tpl->assign('admin_url', WWW_URL . 'admin/'); $form = new Form; $tpl->assign_by_ref('form', $form); if (file_exists(DB_FILE)) { $tpl->assign('disabled', true); } else { $tpl->assign('disabled', false); |
︙ | ︙ |