mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 03:08:53 +00:00
Move files around.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
//This Script Verifies your System Time vs Myself Time vs PHP Time
|
||||
require_once dirname(__FILE__) . '/../../www/config.php';
|
||||
|
||||
use newznab\db\DB;
|
||||
$res="";
|
||||
|
||||
$db = new DB();
|
||||
$res = $db->queryonerow( sprintf("Select now()"));
|
||||
foreach($res as $time){
|
||||
echo "Mysql Time Is Now ".$time."\n";}
|
||||
$res="";
|
||||
$res = date('r');
|
||||
echo "PHP Time Is Now ".$res."\n";
|
||||
$res="";
|
||||
|
||||
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
|
||||
{
|
||||
exec("time /t", $res);
|
||||
echo "System Time is Now ".$res['0']."\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
exec("date", $res);
|
||||
echo "System Time is Now ".$res['0']."\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user