aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/archive/index.php4
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);
}
?>