forked from uup-dump/api
Fix API not working when parent script uses include with the same name
This commit is contained in:
@ -15,9 +15,10 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__).'/shared/main.php';
|
||||
|
||||
function uupListLangs() {
|
||||
require_once 'shared/main.php';
|
||||
require 'shared/packs.php';
|
||||
require dirname(__FILE__).'/shared/packs.php';
|
||||
|
||||
$langList = array();
|
||||
$langListFancy = array();
|
||||
|
Reference in New Issue
Block a user