aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 28a2cfe..c9f9a7e 100644
--- a/index.php
+++ b/index.php
@@ -1,8 +1,8 @@
<?php
-global $full_domain = 'https://hn.cleberg.net',
- $path = ltrim($_SERVER['REQUEST_URI'], '/'),
- $elements = explode('/', $path);
+$full_domain = 'https://hn.cleberg.net';
+$path = ltrim($_SERVER['REQUEST_URI'], '/');
+$elements = explode('/', $path);
if (empty($elements[0])) {
$html_output = get_stories(