Replace 'heure française' with actual site timezone
This commit is contained in:
@@ -98,6 +98,7 @@ class Project extends PhpObject {
|
||||
}
|
||||
$asProject['geofile'] = Spot::addTimestampToFilePath(self::GEO_FOLDER.$asProject['geofile']);
|
||||
$asProject['codename'] = $sCodeName;
|
||||
$asProject['timezone_desc'] = Spot::getTimeZoneDesc($asProject['timezone']);
|
||||
}
|
||||
return $bSpecificProj?$asProject:$asProjects;
|
||||
}
|
||||
|
||||
@@ -414,7 +414,7 @@ class Spot extends Main
|
||||
|
||||
public function getTile($sMapId, $iX, $iY, $iZ)
|
||||
{
|
||||
if(isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] == $this->asContext['serv_name']) {
|
||||
if(isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] == $this->asContext['serv_name'] || Settings::DEBUG) {
|
||||
$asDomains = array();
|
||||
$sReferer = 'https://spot.lutran.fr';
|
||||
switch($sMapId) {
|
||||
|
||||
Reference in New Issue
Block a user