diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-10-16 21:34:48 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-10-16 21:34:48 +0000 |
| commit | d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5 (patch) | |
| tree | 2a8d0520e8f538d1cb31931b37c23ab095885890 /src/globals.php | |
| parent | 1bfadfa27cb0b94d2063054ccf78f8bfedd62f59 (diff) | |
| download | boca-d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5.tar.gz boca-d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5.zip | |
bug fixes
Diffstat (limited to 'src/globals.php')
| -rwxr-xr-x | src/globals.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.php b/src/globals.php index cb7c419..4c387fc 100755 --- a/src/globals.php +++ b/src/globals.php @@ -284,8 +284,8 @@ function mytime() { function mymtime() { return microtime(true); } -function myunique() { - return ((int)(100*microtime(true))) % 100000000; +function myunique($val=0) { + return (((int)(100*microtime(true))) % 10000000)*100 + ($val % 100); } //retorna data e hora atuais function now () { |