PHP Classes

File: admin/ajax/set-timezone.php

Recommend this page to a friend!
  Classes of Subin Siby   Lobby   admin/ajax/set-timezone.php   Download  
File: admin/ajax/set-timezone.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Lobby
Web OS to install and run Web applications
Author: By
Last change:
Date: 7 years ago
Size: 222 bytes
 

Contents

Class file image Download
<?php
$offset
= Request::postParam("offset");
if(
$offset !== null){
 
$timeZone = \Lobby\Time::getTimezone($offset);
  if(@
date_default_timezone_set($timeZone))
    \
Lobby\DB::saveOption("lobby_timezone", $timeZone);
}
?>