Remove empty array
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@991 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
1ccc5c268c
commit
dc05ef6260
4
lang.php
4
lang.php
|
@ -14,8 +14,8 @@ foreach (array_merge(
|
||||||
glob(dirname(__FILE__) . "/adminer/*.php"),
|
glob(dirname(__FILE__) . "/adminer/*.php"),
|
||||||
glob(dirname(__FILE__) . "/adminer/include/*.php"),
|
glob(dirname(__FILE__) . "/adminer/include/*.php"),
|
||||||
glob(dirname(__FILE__) . "/editor/*.php"),
|
glob(dirname(__FILE__) . "/editor/*.php"),
|
||||||
glob(dirname(__FILE__) . "/editor/include/*.php"),
|
glob(dirname(__FILE__) . "/editor/include/*.php")
|
||||||
array()) as $filename) {
|
) as $filename) {
|
||||||
$file = file_get_contents($filename);
|
$file = file_get_contents($filename);
|
||||||
if (preg_match_all("~lang\\(('(?:[^\\\\']+|\\\\.)*')([),])~", $file, $matches)) { // lang() always uses apostrophes
|
if (preg_match_all("~lang\\(('(?:[^\\\\']+|\\\\.)*')([),])~", $file, $matches)) { // lang() always uses apostrophes
|
||||||
$messages_all += array_combine($matches[1], $matches[2]);
|
$messages_all += array_combine($matches[1], $matches[2]);
|
||||||
|
|
Loading…
Reference in a new issue