You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
469 B

  1. <?php
  2. use dokuwiki\Extension\Plugin;
  3. /**
  4. * DokuWiki Plugin vshare (Helper Component)
  5. *
  6. * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
  7. * @author Andreas Gohr <andi@splitbrain.org>
  8. */
  9. class helper_plugin_vshare extends Plugin
  10. {
  11. /**
  12. * Loads the configures sites and their data
  13. *
  14. * @return array
  15. */
  16. public static function loadSites()
  17. {
  18. return parse_ini_file(__DIR__ . '/sites.ini', true, INI_SCANNER_RAW);
  19. }
  20. }