|
151 | 151 | <p>'.tr('Non è possibile creare il file di configurazione _FILE_ per mancanza di permessi di scrittura', [ |
152 | 152 | '_FILE_' => '<b>config.inc.php</b>', |
153 | 153 | ]).'</p> |
154 | | - <form action="'.base_path().'/index.php?action=updateconfig&firstuse=true" method="post"> |
| 154 | + <form action="'.base_path_osm().'/index.php?action=updateconfig&firstuse=true" method="post"> |
155 | 155 | <div class="hide"> |
156 | 156 | <input type="hidden" name="db_name" value="'.$db_name.'"> |
157 | 157 | <input type="hidden" name="db_password" value="'.$db_password.'"> |
158 | 158 | <input type="hidden" name="db_username" value="'.$db_username.'">; |
159 | 159 | <input type="hidden" name="db_host" value="'.$db_host.'"> |
160 | 160 | </div> |
161 | | - <a class="btn btn-warning btn-lg" href="'.base_path().'/index.php"><i class="fa fa-arrow-left"></i> '.tr('Indietro').'</a> |
| 161 | + <a class="btn btn-warning btn-lg" href="'.base_path_osm().'/index.php"><i class="fa fa-arrow-left"></i> '.tr('Indietro').'</a> |
162 | 162 | <button class="btn btn-info btn-lg"><i class="fa fa-refresh"></i> '.tr('Riprova').'</button> |
163 | 163 | </form> |
164 | 164 | <hr> |
|
183 | 183 | else { |
184 | 184 | // Creazione manifest.json |
185 | 185 | include_once App::filepath('include/init', 'manifest.php'); |
186 | | - redirect_url(base_path().'/index.php'); |
| 186 | + redirect_url(base_path_osm().'/index.php'); |
187 | 187 | exit; |
188 | 188 | } |
189 | 189 | } |
|
199 | 199 | <div class="card-body"> |
200 | 200 | <p>'.tr('Impossibile stabilire una connessione con il database').'.</p> |
201 | 201 | <p>'.tr('Verifica che i dati di accesso siano corretti e che il database esista').'.</p> |
202 | | - <a class="btn btn-info btn-lg" href="'.base_path().'/index.php"><i class="fa fa-refresh"></i> '.tr('Riprova').'</a> |
| 202 | + <a class="btn btn-info btn-lg" href="'.base_path_osm().'/index.php"><i class="fa fa-refresh"></i> '.tr('Riprova').'</a> |
203 | 203 | </div> |
204 | 204 | </div>'; |
205 | 205 | } |
|
220 | 220 | '_FILE_' => '<b>config.inc.php</b>', |
221 | 221 | ]).'.</p> |
222 | 222 | <p>'.tr("Se il problema persiste, contatta l'assistenza").'.</p> |
223 | | - <a class="btn btn-info btn-lg" href="'.base_path().'/index.php"><i class="fa fa-refresh"></i> '.tr('Riprova').'</a> |
| 223 | + <a class="btn btn-info btn-lg" href="'.base_path_osm().'/index.php"><i class="fa fa-refresh"></i> '.tr('Riprova').'</a> |
224 | 224 | </div> |
225 | 225 | </div>'; |
226 | 226 | } |
|
314 | 314 | $("#test").prop("disabled", true); |
315 | 315 | $("#install").prop("disabled", true); |
316 | 316 | $(this).closest("form").ajaxSubmit({ |
317 | | - url: "'.base_path().'/index.php", |
| 317 | + url: "'.base_path_osm().'/index.php", |
318 | 318 | data: { |
319 | 319 | test: 1, |
320 | 320 | }, |
|
0 commit comments