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