diff options
| author | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-01-26 21:24:48 +0200 |
|---|---|---|
| committer | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-01-26 21:24:48 +0200 |
| commit | a2592eca1b76f1cc607e0e449bc635a16f0b007f (patch) | |
| tree | 7b956482d53319c213677053df43cde15b9045e4 /views | |
| parent | 9121554ce064629dc7aef74434b65ee10756a8a7 (diff) | |
| download | nowayforward_human-a2592eca1b76f1cc607e0e449bc635a16f0b007f.tar nowayforward_human-a2592eca1b76f1cc607e0e449bc635a16f0b007f.tar.gz nowayforward_human-a2592eca1b76f1cc607e0e449bc635a16f0b007f.zip | |
Made the urls be more universal
Diffstat (limited to 'views')
| -rw-r--r-- | views/archive/index.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/archive/index.php b/views/archive/index.php index 500238a..ac6ada6 100644 --- a/views/archive/index.php +++ b/views/archive/index.php @@ -3,11 +3,13 @@ $page = null; try { + list($exists, $url) = Controller\doesWebsiteExist($url); + Controller\normalizeUrl($url); + $page = Database\Webpage::fromDB($url); $page->incrementVisits(); } catch(Exception $e) { - $exists = Controller\doesWebsiteExist($url); } ?> |
