return web crawler file

This commit is contained in:
2015-05-04 23:37:32 +02:00
parent dfca43e528
commit 88adb4cc0b

View File

@@ -403,7 +403,9 @@ class Databap extends PhpObject
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()