@@ -7,11 +7,11 @@ |
||
7 | 7 | class Update extends AdminController { |
8 | 8 | |
9 | 9 | |
10 | - public function index(){ |
|
10 | + public function index() { |
|
11 | 11 | echo'TEST'; |
12 | 12 | } |
13 | 13 | |
14 | - public function updateConfig(){ |
|
14 | + public function updateConfig() { |
|
15 | 15 | //$this->onlyAdmin(); |
16 | 16 | echo '<pre>'; |
17 | 17 | var_dump($_POST); |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | throw new \Exception("Unknown Request Method"); |
31 | 31 | } |
32 | 32 | |
33 | - public function getUri(){ |
|
33 | + public function getUri() { |
|
34 | 34 | return $_SERVER['REQUEST_URI']; |
35 | 35 | } |
36 | 36 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | { |
64 | 64 | $host = $_SERVER['HTTP_HOST']; |
65 | 65 | $https = !empty($_SERVER['HTTPS']) ? 'https' : 'http'; |
66 | - return $https . '://' . $host . '/'; |
|
66 | + return $https.'://'.$host.'/'; |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |