return web crawler file
This commit is contained in:
@@ -403,7 +403,9 @@ class Databap extends PhpObject
|
|||||||
|
|
||||||
public function updateWebCrawler()
|
public function updateWebCrawler()
|
||||||
{
|
{
|
||||||
@file_put_contents('sap_website_parser.sh', "#!/bin/bash\n\ncd /var/www\n\n/usr/bin/php -f index.php a=external_access p=blogs auth_token=".self::SYSTEM_USER_ID.'_'.str_replace('$', '\$', $this->generateExternalAccessToken(self::SYSTEM_USER_ID)));
|
$sContent = "#!/bin/bash\n\ncd /var/www\n\n/usr/bin/php -f index.php a=external_access p=blogs auth_token=".self::SYSTEM_USER_ID.'_'.str_replace('$', '\$', $this->generateExternalAccessToken(self::SYSTEM_USER_ID));
|
||||||
|
@file_put_contents('sap_website_parser.sh', $sContent);
|
||||||
|
return $sContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function goLive()
|
public function goLive()
|
||||||
|
|||||||
Reference in New Issue
Block a user