loadplugin.php 282 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 <?php defined('N2LIBRARY') or die(); $mdir = dirname(__FILE__).DIRECTORY_SEPARATOR; foreach(N2Filesystem::folders($mdir) AS $mfolder){ $mfile = $mdir.$mfolder.DIRECTORY_SEPARATOR.'loadplugin.php'; if(N2Filesystem::fileexists($mfile)){ require_once($mfile); } }