Website Summary Files Commits Branches @commit @diff @stats
path: root / views
diff options
context:
space:
mode:
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);
}
?>