Skip to content

Instantly share code, notes, and snippets.

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
<?
// 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;
}