mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Move google-exclude and google-disavow into appropriate folders.
This commit is contained in:
parent
8e29cf2229
commit
082561db3a
8 changed files with 3 additions and 3 deletions
|
@ -37,10 +37,10 @@ _input1=$TRAVIS_BUILD_DIR/_generator_lists/bad-referrers.list
|
|||
# Create Google Disavow File
|
||||
# **************************
|
||||
|
||||
sudo truncate -s 0 $TRAVIS_BUILD_DIR/google-disavow.txt
|
||||
sudo truncate -s 0 $TRAVIS_BUILD_DIR/_google_webmaster_disavow_links/google-disavow.txt
|
||||
while IFS= read -r LINE
|
||||
do
|
||||
printf '%s%s\n' "domain:" "${LINE}" >> $TRAVIS_BUILD_DIR/google-disavow.txt
|
||||
printf '%s%s\n' "domain:" "${LINE}" >> $TRAVIS_BUILD_DIR/_google_webmaster_disavow_links/google-disavow.txt
|
||||
done < $_input1
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -61,7 +61,7 @@ class Generator
|
|||
*/
|
||||
protected function writeToFile($filename, $data)
|
||||
{
|
||||
$file = "/home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/$filename";
|
||||
$file = "/home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/_google_analytics_ghost_spam/$filename";
|
||||
$handle = fopen($file, 'w') or die('Cannot open file: '.$file);
|
||||
fwrite($handle, $data);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue