|
@@ 187-188 (lines=2) @@
|
| 184 |
|
debug(4,"fileCopy($source_name, $output_name)\n"); |
| 185 |
|
if(is_file($this->module_path.'/Files/'.$this->device_id.'/'.$source_name)) |
| 186 |
|
$source = $this->module_path.'/Files/'.$this->device_id.'/'.$source_name; |
| 187 |
|
elseif(is_file($this->module_path.'/Files/'.$source_name)) |
| 188 |
|
$source = $this->module_path.'/Files/'.$source_name; |
| 189 |
|
else { |
| 190 |
|
debug(2,"fileCopy:reqested file $source_name does not exist\n"); |
| 191 |
|
return(FALSE); |
|
@@ 236-237 (lines=2) @@
|
| 233 |
|
debug(4,$this->module_path.'/Files/'.$this->device_id.'/'.$source_name."\n"); |
| 234 |
|
if(is_file($this->module_path.'/Files/'.$this->device_id.'/'.$source_name)) |
| 235 |
|
$source = $this->module_path.'/Files/'.$this->device_id.'/'.$source_name; |
| 236 |
|
elseif(is_file($this->module_path.'/Files/'.$source_name)) |
| 237 |
|
$source = $this->module_path.'/Files/'.$source_name; |
| 238 |
|
include($source); |
| 239 |
|
$output = ob_get_clean(); |
| 240 |
|
if($encoding) { |