id !== 'dashboard' && $current->id !== 'plugins' && $current->id !== 'users')) return; //extensions $extensions = array('Core','bcmath','date','filter','json','pcre','standard'); foreach($extensions AS $e){ if(!extension_loaded($e)) $errors[] = 'The plugin requires the PHP extension ' . $e . '.'; } //must be PHP 5.2+ if(version_compare(PHP_VERSION, '5.2.0') < 0) $errors[] = 'The plugin requires PHP 5.2.0 or greater.'; //make sure the tables exist if(!meow_tables_exist()) $errors[] = 'The Apocalypse Meow database tables do not exist. Your MySQL user must have CREATE TABLES grants for this plugin to be properly installed.'; //any errors? if(!is_array($errors) || !count($errors)) return; ?>
Your server does not meet the minimum requirements for running Apocalypse Meow. Things might work out anyhow, but you or your system administrator should take a look at the following:
• • ", $errors); ?>
Apocalypse Meow is not compatible with WPMU and has been disabled. Sorry!
'; } return true; } add_action('admin_init', 'meow_deactivate_multisite'); //--------------------------------------------------------------------- end compatibility //--------------------------------------------------------------------- // Menus //--------------------------------------------------------------------- //-------------------------------------------------- // Page Navigation // // @param n/a // @return header function meow_admin_header(){ $slug = isset($_GET['page']) ? $_GET['page'] : ''; $links = array( array( 'slug'=>'meow-settings', 'title'=>'Settings', 'url'=>admin_url('users.php?page=meow-settings') ), array( 'slug'=>'meow-tools', 'title'=>'Tools', 'url'=>admin_url('users.php?page=meow-tools') ), array( 'slug'=>'meow-activity', 'title'=>'Activity', 'url'=>admin_url('users.php?page=meow-activity') ) ); ?>
{{error}}
{{success}}