Website Summary Files Commits Branches @commit @diff @stats
path: root / views
diff options
context:
space:
mode:
Commita2592eca1b76f1cc607e0e449bc635a16f0b007f (patch)
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
Files7b956482d53319c213677053df43cde15b9045e4 /views
nowayforward_human-a2592eca1b76f1cc607e0e449bc635a16f0b007f.tar
nowayforward_human-a2592eca1b76f1cc607e0e449bc635a16f0b007f.tar.gz
nowayforward_human-a2592eca1b76f1cc607e0e449bc635a16f0b007f.zip
Parent9121554ce064629dc7aef74434b65ee10756a8a7 (diff)
Made the urls be more universal
1 files changed, 3 insertions, 1 deletions
-rw-r--r--views/archive/index.php4
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);
}
?>