Updated installation for PHP 5.x
This commit is contained in:
parent
363da16294
commit
8a8965ab12
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@ class YellowInstall {
|
|||
preg_match("/^\s*(.*?)\s*:\s*(.*?)\s*$/", $line, $matches);
|
||||
if (!empty($matches[1]) && !empty($matches[2]) && strposu($matches[1], "/")) {
|
||||
list($dummy, $entry) = explode("/", $matches[1], 2);
|
||||
$language = array_pop(explode(",", $matches[2]));
|
||||
$flags = explode(",", $matches[2]);
|
||||
$language = array_pop($flags);
|
||||
if (preg_match("/^(.*)\.php$/", basename($entry), $tokens) && in_array($language, $languages)) {
|
||||
$languagesFound[$language] = $tokens[1];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue