mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-08-02 13:11:59 -07:00
add $board_timezone, stub ctime() - closes #67
This commit is contained in:
@@ -21,6 +21,10 @@
|
|||||||
require 'lib/config.php';
|
require 'lib/config.php';
|
||||||
require 'lib/mysql.php';
|
require 'lib/mysql.php';
|
||||||
|
|
||||||
|
if (isset($board_timezone)) {
|
||||||
|
date_default_timezone_set($board_timezone);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = new mysql;
|
$sql = new mysql;
|
||||||
|
|
||||||
|
|
||||||
@@ -596,8 +600,8 @@ function doforumlist($id){
|
|||||||
return $forumlinks;
|
return $forumlinks;
|
||||||
}
|
}
|
||||||
|
|
||||||
function ctime(){return time()+3*3600;}
|
function ctime(){return time(); } // +3*3600;}
|
||||||
function cmicrotime(){return microtime(true)+3*3600;}
|
function cmicrotime(){return microtime(true); } // +3*3600;}
|
||||||
|
|
||||||
function getrank($rankset,$title,$posts,$powl){
|
function getrank($rankset,$title,$posts,$powl){
|
||||||
global $hacks, $sql;
|
global $hacks, $sql;
|
||||||
|
Reference in New Issue
Block a user