Commit 325a5499cd
Unsigned
Layout: unified · split
index.php +3 −3
| @@ -1,8 +1,8 @@ | |||
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | global $full_domain = 'https://hn.cleberg.net', | 3 | $full_domain = 'https://hn.cleberg.net'; |
| 4 | $path = ltrim($_SERVER['REQUEST_URI'], '/'), | 4 | $path = ltrim($_SERVER['REQUEST_URI'], '/'); |
| 5 | $elements = explode('/', $path); | 5 | $elements = explode('/', $path); |
| 6 | 6 | ||
| 7 | if (empty($elements[0])) { | 7 | if (empty($elements[0])) { |
| 8 | $html_output = get_stories( | 8 | $html_output = get_stories( |