Advertisement
Guest User

Untitled

a guest
May 22nd, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. $IP = getenv( 'MW_INSTALL_PATH' );
  2.  
  3. if ( $IP === false ) {
  4.     $IP = dirname( __FILE__ ) . '/../../../..';
  5. }
  6.  
  7. require_once( $IP . '/maintenance/Maintenance.php' );
  8.  
  9. class WhyYouNoHasDecentLoadingMechanism extends Maintenance {
  10.     public function execute() {}
  11. }
  12.  
  13. $maintClass = 'WhyYouNoHasDecentLoadingMechanism';
  14. require_once( DO_MAINTENANCE );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement