|
@@ -384,7 +384,7 @@ class View
|
|
|
|
|
|
public function get($file = '', $type = '', $id = '')
|
|
|
{
|
|
|
- $file = Dever::input('file', $file);
|
|
|
+ $file = $file ? $file : Dever::input('file');
|
|
|
$array = $this->getFile($file, $type, $id);
|
|
|
$source = $array[0];
|
|
|
$type = $array[1];
|