Browse Source

replace getmicrotime() wrapper with microtime(true) (2)

Andrew Dolgov 7 years ago
parent
commit
1ebf3b979e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      backend.php
  2. 1 1
      public.php

+ 1 - 1
backend.php

@@ -47,7 +47,7 @@
 
 	startup_gettext();
 
-	$script_started = getmicrotime();
+	$script_started = microtime(true);
 
 	$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
 

+ 1 - 1
public.php

@@ -28,7 +28,7 @@
 
 	startup_gettext();
 
-	$script_started = getmicrotime();
+	$script_started = microtime(true);
 
 	$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);