ajax.php
changeset 304 e2cb5f1432c8
parent 228 b0a4d179be85
parent 289 2b60c89dc27f
child 313 854eecfada20
equal deleted inserted replaced
280:dc08c70ca550 304:e2cb5f1432c8
    19     function dc_here($m)     { return false; }
    19     function dc_here($m)     { return false; }
    20     function dc_dump($a, $g) { return false; }
    20     function dc_dump($a, $g) { return false; }
    21     function dc_watch($n)    { return false; }
    21     function dc_watch($n)    { return false; }
    22     function dc_start_timer($u) { return false; }
    22     function dc_start_timer($u) { return false; }
    23     function dc_stop_timer($m) { return false; }
    23     function dc_stop_timer($m) { return false; }
       
    24     function microtime_float()
       
    25     {
       
    26       list($usec, $sec) = explode(" ", microtime());
       
    27       return ((float)$usec + (float)$sec);
       
    28     }
    24     // Determine directory (special case for development servers)
    29     // Determine directory (special case for development servers)
    25     if ( strpos(__FILE__, '/repo/') && file_exists('.enanodev') )
    30     if ( strpos(__FILE__, '/repo/') && file_exists('.enanodev') )
    26     {
    31     {
    27       $filename = str_replace('/repo/', '/', __FILE__);
    32       $filename = str_replace('/repo/', '/', __FILE__);
    28     }
    33     }