Skip to content

Commit

Permalink
dealing with permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
astreknet committed May 16, 2022
1 parent 173793f commit 42c2540
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/aurora_image
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ convert $tmp_file -rotate 105 $tmp_file
convert -crop 450x540+324+280 $tmp_file $file_url
#convert $tmp_file -alpha set -channel a -evaluate set 81% $file_url
rm $tmp_file
chown -R www:www /var/www/aurora/pub/
chown -R hugo:www /var/www/aurora/pub/
chmod -R 755 /var/www/aurora/pub/
2 changes: 1 addition & 1 deletion bin/noaa_info_json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if [ "`date -u "+%b %d"`" == "$day_0" ]||[ "`date -u "+%b %d"`" == "$day_1" ]||[

cat $tmp_b | tr -d "\n" | sed 's/\]\[/\], \[/g; s/$/]}&/'>/var/www/aurora/pub/aurora_forecast.json
rm $tmp_b
chown -R www:www /var/www/aurora/pub/
chown -R hugo:www /var/www/aurora/pub/
chmod -R 755 /var/www/aurora/pub/
else
echo "Something's TERRIBLY wrong with the 48 aurora report" | mail -s"aurora next hours error" hugo
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ function get_moon_svg_by_size($m_size,$id_tag) {
document.getElementById("key_2").innerHTML = myObj.key[2]
}
}
language.open("GET", "langs/lang."+ lang +".json", true)
language.open("GET", "./langs/lang."+ lang +".json", true)
language.send()
}
var now = document.getElementById('now');
Expand Down

0 comments on commit 42c2540

Please sign in to comment.