• At file simplesplash.php, code is broken for multi site instalations.
    Below my fix:

    function display_splash() {
    		$filename = 'splash.php';
    		if ( $optionsfile = locate_template( array( $filename ) ) ) {
    			 require_once( $optionsfile );
    		} elseif ( file_exists( dirname( __FILE__ ) . '/' . $filename ) ) {
    			 require_once dirname( __FILE__ ) . '/' . $filename;
    		}
    /*
    		$themepath = get_theme_root().'/'.get_template();
    		if(is_file($themepath.'/'.$filename)) {
    		  @include($themepath.'/'.$filename);
    		}else {
    		  @include(dirname(__FILE__).'/'.$filename);
    		}
    */
    		exit();
    	}

Viewing 1 replies (of 1 total)
  • Thread Starter Gabriel Reguly

    (@gabriel-reguly)

    Thanks for the great plugin.

    Please note that I left the original code commented, remove it at your will.

    Regards,
    Gabriel

Viewing 1 replies (of 1 total)
  • The topic ‘Broken for multi site installation’ is closed to new replies.