This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :sass do | |
desc 'Updates stylesheets if necessary from their Sass templates.' | |
task :update => :environment do | |
sh "rm -rf public/stylesheets/compiled tmp/sass-cache" | |
Sass::Plugin.options[:never_update] = false | |
Sass::Plugin.update_stylesheets | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
// install.sgz package should be in this directory | |
include("backup.php"); | |
set_time_limit(0); | |
if(!is_writable("backup.php")){ | |
echo "Plik backup.php nie ma uprawnień do zapisu!"; | |
exit; | |
} |