Upgrade to xinha svn head to fix issues with xinha editors not appearing in Firefox 1.5
This commit is contained in:
@@ -92,17 +92,20 @@ foreach($plugins as $pluginDir)
|
||||
{
|
||||
$fp = fopen($file, "r");
|
||||
$data = "";
|
||||
while(!feof($fp)) {
|
||||
$data .= fread($fp, 1024);
|
||||
}
|
||||
preg_match_all('#_lc\("([^"]+)"|_lc\(\'([^\']+)\'#', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim(strip_tags($i))=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
foreach($m[2] as $i) {
|
||||
if(trim(strip_tags($i))=="") continue;
|
||||
$ret[] = $i;
|
||||
if($fp) {
|
||||
echo "$file open...<br>";
|
||||
while(!feof($fp)) {
|
||||
$data .= fread($fp, 1024);
|
||||
}
|
||||
preg_match_all('#_lc\("([^"]+)"|_lc\(\'([^\']+)\'#', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim(strip_tags($i))=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
foreach($m[2] as $i) {
|
||||
if(trim(strip_tags($i))=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -258,4 +261,4 @@ function getFiles($rootdirpath, $eregi_match='') {
|
||||
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user