@@ -11,20 +11,20 @@ |
||
11 | 11 | * This file is mormally called from the installer |
12 | 12 | * |
13 | 13 | */ |
14 | -include_once dirname(__DIR__) . '/includes/functions/processors.php'; |
|
14 | +include_once dirname(__DIR__).'/includes/functions/processors.php'; |
|
15 | 15 | $msg = ''; |
16 | -$pth = dirname(dirname(__DIR__)) . '/install/'; |
|
16 | +$pth = dirname(dirname(__DIR__)).'/install/'; |
|
17 | 17 | $pth = str_replace('\\', '/', $pth); |
18 | 18 | |
19 | 19 | if (isset($_GET['rminstall'])) { |
20 | 20 | if (is_dir($pth)) { |
21 | - if (! rmdirRecursive($pth)) { |
|
21 | + if (!rmdirRecursive($pth)) { |
|
22 | 22 | $msg = 'An error occured while attempting to remove the install folder'; |
23 | 23 | } |
24 | 24 | } |
25 | 25 | } |
26 | 26 | if ($msg) { |
27 | - echo "<script>alert('" . addslashes($msg) . "');</script>"; |
|
27 | + echo "<script>alert('".addslashes($msg)."');</script>"; |
|
28 | 28 | } |
29 | 29 | |
30 | 30 | echo "<script>window.location='../index.php?a=2';</script>"; |