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