@@ -23,6 +23,6 @@ |
||
23 | 23 | } |
24 | 24 | $found = ($result['found'] === true) ? 1 : 0; |
25 | 25 | sleep(1); |
26 | - header("location:" . BASE_HREF . "/" . $index . "/" . $type . "?res=success&req=delete&f=".$found); |
|
26 | + header("location:" . BASE_HREF . "/" . $index . "/" . $type . "?res=success&req=delete&f=" . $found); |
|
27 | 27 | exit; |
28 | 28 | } |
29 | 29 | \ No newline at end of file |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if(file_exists(dirname(__DIR__) . '/app_config.php')){ |
|
3 | +if (file_exists(dirname(__DIR__) . '/app_config.php')) { |
|
4 | 4 | require_once dirname(__DIR__) . '/app_config.php'; |
5 | 5 | } |
6 | -else{ |
|
6 | +else { |
|
7 | 7 | require_once dirname(__DIR__) . '/app_config.sample.php'; |
8 | 8 | } |
9 | 9 | require_once $config['base_dir'] . '/vendor/autoload.php'; |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | if(file_exists(dirname(__DIR__) . '/app_config.php')){ |
4 | 4 | require_once dirname(__DIR__) . '/app_config.php'; |
5 | -} |
|
6 | -else{ |
|
5 | +} else{ |
|
7 | 6 | require_once dirname(__DIR__) . '/app_config.sample.php'; |
8 | 7 | } |
9 | 8 | require_once $config['base_dir'] . '/vendor/autoload.php'; |