davvalent commited on 2022-05-02 04:20:12
Showing 2 changed files, with 2 additions and 9 deletions.
| ... | ... |
@@ -2,15 +2,7 @@ |
| 2 | 2 |
|
| 3 | 3 |
if (!empty($_POST)) {
|
| 4 | 4 |
|
| 5 |
- try {
|
|
| 6 |
- |
|
| 7 |
- if (!$infos = @parse_ini_file('../ts.ini'))
|
|
| 8 |
- throw new Exception('réessayez plus tard.');
|
|
| 9 |
- |
|
| 10 |
- } catch (Exception $e) {
|
|
| 11 |
- exit('Erreur : ' . $e->getMessage());
|
|
| 12 |
- } |
|
| 13 |
- |
|
| 5 |
+ require 'parse-ini.php'; |
|
| 14 | 6 |
require 'vendor/autoload.php'; |
| 15 | 7 |
|
| 16 | 8 |
$config = array( |
| 17 | 9 |