Explorar o código

#73 - some correction

Alex Trofimov %!s(int64=12) %!d(string=hai) anos
pai
achega
303f6f4359
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      inc/classes/BxDolIO.php

+ 1 - 1
inc/classes/BxDolIO.php

@@ -19,7 +19,7 @@ class BxDolIO extends BxDol
     	if(defined('BX_DOL_CRON_EXECUTE'))
     		trigger_error('Function can\'t be called under cron', E_USER_ERROR);
 
-		$sName = mktime() . rand(0, 999999999);
+		$sName = time() . rand(0, 999999999);
 		$sFilePath = BX_DIRECTORY_PATH_TMP . $sName . '.txt';
 		if(!$rHandler = fopen($sFilePath, 'w'))
             return false;