From 096fdfc61b5381bd3f7918a7c5f6004461354f32 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 26 May 2016 16:33:01 -0700 Subject: consolidate all the sys_boot functionality that is common between the web server and the cli daemon manager. Get rid of yet another global variable ($default_timezone) whilst doing so. --- view/cs/htconfig.tpl | 2 +- view/de/htconfig.tpl | 2 +- view/en-au/htconfig.tpl | 2 +- view/en-gb/htconfig.tpl | 2 +- view/en/htconfig.tpl | 2 +- view/eo/htconfig.tpl | 2 +- view/fr/htconfig.tpl | 2 +- view/it/htconfig.tpl | 2 +- view/nb-no/htconfig.tpl | 2 +- view/pt-br/htconfig.tpl | 2 +- view/ru/htconfig.tpl | 2 +- view/sv/htconfig.tpl | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) (limited to 'view') diff --git a/view/cs/htconfig.tpl b/view/cs/htconfig.tpl index d0a799cf6..802b31b49 100644 --- a/view/cs/htconfig.tpl +++ b/view/cs/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? diff --git a/view/de/htconfig.tpl b/view/de/htconfig.tpl index adbb7ea92..2b71610b6 100644 --- a/view/de/htconfig.tpl +++ b/view/de/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? diff --git a/view/en-au/htconfig.tpl b/view/en-au/htconfig.tpl index 4dcc3c7c9..896b35bb2 100644 --- a/view/en-au/htconfig.tpl +++ b/view/en-au/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? diff --git a/view/en-gb/htconfig.tpl b/view/en-gb/htconfig.tpl index ead987fcc..04eb404fc 100644 --- a/view/en-gb/htconfig.tpl +++ b/view/en-gb/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl index 4aa6132a6..47daf3f99 100644 --- a/view/en/htconfig.tpl +++ b/view/en/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? DO NOT ADD A TRAILING SLASH! diff --git a/view/eo/htconfig.tpl b/view/eo/htconfig.tpl index 7a452087b..b90c00d6e 100644 --- a/view/eo/htconfig.tpl +++ b/view/eo/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? diff --git a/view/fr/htconfig.tpl b/view/fr/htconfig.tpl index 029c472f7..d49448ac2 100644 --- a/view/fr/htconfig.tpl +++ b/view/fr/htconfig.tpl @@ -29,7 +29,7 @@ define( 'UNO', {{$uno}} ); // Choisissez votre emplacement géographique. Si vous n'êtes pas certain, utilisez "America/Los_Angeles". // Vous pourrez le changer plus tard et ce réglage n'affecte que les visiteurs anonymes. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // Quel sera le nom de votre site? diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl index d0a799cf6..802b31b49 100644 --- a/view/it/htconfig.tpl +++ b/view/it/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? diff --git a/view/nb-no/htconfig.tpl b/view/nb-no/htconfig.tpl index d0a799cf6..802b31b49 100644 --- a/view/nb-no/htconfig.tpl +++ b/view/nb-no/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? diff --git a/view/pt-br/htconfig.tpl b/view/pt-br/htconfig.tpl index d0a799cf6..802b31b49 100644 --- a/view/pt-br/htconfig.tpl +++ b/view/pt-br/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? diff --git a/view/ru/htconfig.tpl b/view/ru/htconfig.tpl index 97155ea42..5456d12c1 100644 --- a/view/ru/htconfig.tpl +++ b/view/ru/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? diff --git a/view/sv/htconfig.tpl b/view/sv/htconfig.tpl index 97155ea42..5456d12c1 100644 --- a/view/sv/htconfig.tpl +++ b/view/sv/htconfig.tpl @@ -28,7 +28,7 @@ define( 'UNO', {{$uno}} ); // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +App::$config['system']['timezone'] = '{{$timezone}}'; // What is your site name? -- cgit v1.2.3