Make new seed url compatible with ### notation, a=chris

Chris Pollett [2014-07-09 22:Jul:th]
Make new seed url compatible with ### notation, a=chris
Filename
locale/en-US/statistics.txt
models/crawl_model.php
diff --git a/locale/en-US/statistics.txt b/locale/en-US/statistics.txt
index b6bef56f0..5a165df53 100755
--- a/locale/en-US/statistics.txt
+++ b/locale/en-US/statistics.txt
@@ -1 +1 @@
-d:99;
\ No newline at end of file
+d:100;
\ No newline at end of file
diff --git a/models/crawl_model.php b/models/crawl_model.php
index a986ce531..28339fde3 100755
--- a/models/crawl_model.php
+++ b/models/crawl_model.php
@@ -924,7 +924,7 @@ EOT;

             foreach ($seed_info['seed_sites']['url'] as $site) {
                 if($site[0] == "#") { continue; } //ignore comments in file
-                $site_parts = preg_split("/\s+|#/", $site);
+                $site_parts = preg_split("/\s+/", $site);
                 if(strlen($site_parts[0]) > 0) {
                     $scheduler_info[self::TO_CRAWL][] =
                         array($site_parts[0], 1.0);
ViewGit