WhitespaceClean-core/install

whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
This commit is contained in:
mafoo
2016-03-11 12:03:29 +00:00
parent 66ba2802bd
commit f803f03496
7 changed files with 13 additions and 13 deletions

View File

@@ -53,8 +53,8 @@ require_once "resources/classes/text.php";
//TBD $locale = Locale::getDefault();
$timezone = 'UTC';
if (is_link('/etc/localtime')) {
// Mac OS X (and older Linuxes)
// /etc/localtime is a symlink to the
// Mac OS X (and older Linuxes)
// /etc/localtime is a symlink to the
// timezone in /usr/share/zoneinfo.
$filename = readlink('/etc/localtime');
if (strpos($filename, '/usr/share/zoneinfo/') === 0) {
@@ -73,7 +73,7 @@ if (is_link('/etc/localtime')) {
$timezone = $data['ZONE'];
}
}
date_default_timezone_set($timezone);
//detect install state