Skip to content

Commit

Permalink
all urls in DB have been fixed and we're requiring well formatted one…
Browse files Browse the repository at this point in the history
…s now
  • Loading branch information
iamcal committed Nov 3, 2010
1 parent c024c18 commit c0ae0b3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions weblog.php
Expand Up @@ -22,10 +22,6 @@

if (!$weblog['id']) error_404();

if (!preg_match("/^http\:\/\//i", $weblog['blog_url'])){
$weblog['blog_url'] = "http://". $weblog['blog_url'];
}

$smarty->assign('weblog', $weblog);


Expand Down

0 comments on commit c0ae0b3

Please sign in to comment.