robotstxt : the analyze must be done at start. Use the constructor
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5344 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -47,7 +47,7 @@ class robotstxt
|
||||
* @param string $crawlerName The crawler name to use in analyze
|
||||
* @return $this
|
||||
*/
|
||||
public function analyze ($content, $crawlerName)
|
||||
public function __construct ($content, $crawlerName)
|
||||
// {{{
|
||||
{
|
||||
if (trim ($content) === "")
|
||||
|
||||
Reference in New Issue
Block a user