<?php

global $coursepress;
//$coursepress->register_external_plugins();
if (!CoursePress_Capabilities::is_campus()) {
    $activation = new CP_Plugin_Activation();
    $activation->install_plugins_page();
}
 /**
  * Returns the singleton instance of the class.
  *
  * @return object The CP_Plugin_Activation object.
  */
 public static function get_instance()
 {
     if (!isset(self::$instance) && !self::$instance instanceof CP_Plugin_Activation) {
         self::$instance = new CP_Plugin_Activation();
     }
     return self::$instance;
 }