Source Code Documentation


s2member\includes\templates\cfg-files\s2o-mu-plugins.php


  1. <?php
  2. if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
  3. exit("Do not access this file directly.");
  4. ?>
  5.  
  6. // s2Member-only mode. Only load (o)nly/(a)ll files.
  7.  
  8. if (file_exists (WPMU_PLUGIN_DIR . "/s2member-o-hacks.php"))
  9. include_once WPMU_PLUGIN_DIR . "/s2member-o-hacks.php";
  10.  
  11. else if (file_exists (WPMU_PLUGIN_DIR . "/s2-o-hacks.php"))
  12. include_once WPMU_PLUGIN_DIR . "/s2-o-hacks.php";
  13.  
  14. // --------------------------------------------------
  15.  
  16. if (file_exists (WPMU_PLUGIN_DIR . "/s2member-a-hacks.php"))
  17. include_once WPMU_PLUGIN_DIR . "/s2member-a-hacks.php";
  18.  
  19. else if (file_exists (WPMU_PLUGIN_DIR . "/s2-a-hacks.php"))
  20. include_once WPMU_PLUGIN_DIR . "/s2-a-hacks.php";
  21.  
  22. // --------------------------------------------------
  23.  
  24. if (file_exists (WPMU_PLUGIN_DIR . "/s2member-o.php"))
  25. include_once WPMU_PLUGIN_DIR . "/s2member-o.php";
  26.  
  27. else if (file_exists (WPMU_PLUGIN_DIR . "/s2-o.php"))
  28. include_once WPMU_PLUGIN_DIR . "/s2-o.php";
  29.  
  30. // --------------------------------------------------
  31.  
  32. if (file_exists (WPMU_PLUGIN_DIR . "/s2member-a.php"))
  33. include_once WPMU_PLUGIN_DIR . "/s2member-a.php";
  34.  
  35. else if (file_exists (WPMU_PLUGIN_DIR . "/s2-a.php"))
  36. include_once WPMU_PLUGIN_DIR . "/s2-a.php";

s2member\includes\templates\cfg-files\s2o-mu-plugins.php

Source Code Documentation