Skip to content
Snippets Groups Projects
Commit 8180af0b authored by ale's avatar ale
Browse files

Add command to print Supercache htaccess rules

parent cf5b5e2c
Branches
No related tags found
No related merge requests found
Pipeline #60398 failed
......@@ -549,6 +549,11 @@ function do_copy_custom_css($args){
}
}
function do_print_wpsc_htaccess($args) {
$data = wpsc_get_htaccess_info();
print($data['rules']);
}
// Command-line parsing.
$cmd = $argv[1];
if (!$cmd) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment