Created
November 4, 2015 08:58
-
-
Save jbma/582ad30bd019969108af to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
defined( 'ABSPATH' ) or die( 'Cheatin\' uh?' ); | |
/* | |
Plugin Name: Add suPHP | |
Author: Jonathan (WP Rocket Team) | |
Author URI: http://wp-rocket.me | |
*/ | |
add_filter( 'before_rocket_htaccess_rules', '__rocket_add_su' ); | |
function __rocket_add_su( $marker ) { | |
$redirection = 'suPHP_ConfigPath /home/shaman2/public_html/' . PHP_EOL; | |
$marker = $redirection . $marker; | |
return $marker; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment