Broken for multi site installation
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘Broken for multi site installation’ is closed to new replies.