dever пре 4 година
родитељ
комит
86b2e018c0
2 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 0
      lib/Store/Qiniu.php
  2. 0 3
      src/View.php

+ 1 - 0
lib/Store/Qiniu.php

@@ -163,6 +163,7 @@ class Qiniu extends Core implements Config
                 $source = $this->data['host'] . $source;
             }
             if (strstr($source, '?')) {
+                return $source;
                 $prefix = '&';
             } else {
                 $prefix = '?';

+ 0 - 3
src/View.php

@@ -383,9 +383,6 @@ class View
 	public function get($file = '', $type = '', $id = '')
 	{
         $file = Dever::input('file', $file);
-        if (strstr($file, '?')) {
-            return $file;
-        }
         $array = $this->getFile($file, $type, $id);
         $source = $array[0];
         $type = $array[1];