public function __construct() { parent::__construct(); $newStoryPath = str_replace('crawler_tool/index.php', '', $_SERVER['SCRIPT_FILENAME']); $this->storiesPath = $newStoryPath . $this->storiesPath; $this->storiesUrl = 'http://' . $_SERVER['HTTP_HOST'] . '/' . $this->storiesUrl; }
public function __construct() { parent::__construct(); //@todo check if data/crawled and data/cookie exist and if not create them }
public function __construct() { parent::__construct(); }