mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Need to global context to be usable
This commit is contained in:
@@ -113,7 +113,7 @@ if (startTab!=top.ICEcoder.selectedTab) {
|
||||
$r = 0;
|
||||
function phpGrep($q, $path, $base) {
|
||||
$fp = opendir($path);
|
||||
global $r, $ICEcoder, $serverType, $selectedFiles;
|
||||
global $r, $ICEcoder, $serverType, $selectedFiles, $context;
|
||||
if (!isset($ret)) {$ret="";};
|
||||
$slash = $serverType == strpos($path,"\\")>-1 ? "\\" : "/";
|
||||
while($f = readdir($fp)) {
|
||||
|
||||
Reference in New Issue
Block a user