Lines Matching refs:file
93 $file = '';
100 $file = $v;
104 if (!empty($file)) {
106 if($file !== '' && !preg_match('/^https?:\/\//i', $file)) {
107 $file = cleanID($file);
108 if(!strlen(getNS($file))) {
109 $file = $INFO['namespace'] . ':' . $file;
113 if(preg_match('/^https?:\/\//i', $file)) {
115 $content = $http->get($file);
124 $fileNS = getNS($file);
125 $file = mediaFN($file);
129 if(!file_exists($file))
137 if(!utf8_check($file)) $file = utf8_encode($file);
143 $data = array_map('str_getcsv', file($file));
167 if(!empty($file)) {$chartData = $newJson;} else {$chartData = $adata;};