aboutsummaryrefslogtreecommitdiff
path: root/src/globals.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-10-16 21:34:48 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-10-16 21:34:48 +0000
commitd8f2907fb00b701f91e6e98d33c4e6c0dd0619a5 (patch)
tree2a8d0520e8f538d1cb31931b37c23ab095885890 /src/globals.php
parent1bfadfa27cb0b94d2063054ccf78f8bfedd62f59 (diff)
downloadboca-d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5.tar.gz
boca-d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5.zip
bug fixes
Diffstat (limited to 'src/globals.php')
-rwxr-xr-xsrc/globals.php4
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 () {