Latest 100 public snipts »
pazzypunk's
snipts
showing 1-3 of 3 snipts
-
∞ Change ownership of a file
chown -R wwwrun:www
-
∞ show php errors
ini_set('display_errors', "1"); ini_set('error_reporting', E_ALL ^ E_NOTICE);
-
∞ Truncate Cache tables
TRUNCATE `cache`; TRUNCATE `cache_block`; TRUNCATE `cache_content`; TRUNCATE `cache_filter`; TRUNCATE `cache_form`; TRUNCATE `cache_menu`; TRUNCATE `cache_page`; TRUNCATE `cache_update`; TRUNCATE `cache_views`; TRUNCATE `cache_views_data`; TRUNCATE `search_dataset`; TRUNCATE `search_index`; TRUNCATE `search_node_links`; TRUNCATE `search_total`; TRUNCATE `views_object_cache`; TRUNCATE `watchdog`;


