diff --git a/storage/config/sns.ini.php b/storage/config/sns.ini.php index fecbe43..cb73eb0 100644 --- a/storage/config/sns.ini.php +++ b/storage/config/sns.ini.php @@ -1,3 +1,5 @@ + true))) { - $ini = parse_ini_string(include($file)); - } elseif(check_file_extension($file, "config.php", array("multiple" => true))) { - $name = basename($file, ".config.php"); - $ini[$name] = include($file); + $str = include($file); + $ini = parse_ini_string($str); } elseif(check_file_extension($file, "ini")) { $ini = parse_ini_file($file); } - if(count($ini) > 0) { - foreach($ini as $k=>$v) { - $config[$k] = $v; - } + foreach($ini as $k=>$v) { + $config[$k] = $v; } }