adding processes class into autoloading process

- setting as static function to g::streamFile(...)
This commit is contained in:
Erik Amaru Ortiz
2014-03-05 20:05:33 -04:00
parent cb66859ce7
commit f18f96f6b4
2 changed files with 4 additions and 2 deletions

View File

@@ -1068,7 +1068,7 @@ class G
* @param string $downloadFileName
* @return string
*/
public function streamFile ($file, $download = false, $downloadFileName = '')
public static function streamFile ($file, $download = false, $downloadFileName = '')
{
require_once (PATH_THIRDPARTY . 'jsmin/jsmin.php');
$folderarray = explode( '/', $file );