summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBot <bot@myigel.name>2017-01-03 14:12:17 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-03 15:32:59 +0100
commit55141154c083acc2d0397f4c62b4e0be1c7a19fa (patch)
tree7e5e54a19f7df976fa68c42f21f1484112a7c257 /config
parent356b2582f3e6a43ecf2607acad4a7fe0b37f659a (diff)
Replaced " with '
Diffstat (limited to 'config')
-rw-r--r--config/config.default.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/config/config.default.php b/config/config.default.php
index e6833a2b..5287b51b 100644
--- a/config/config.default.php
+++ b/config/config.default.php
@@ -4,10 +4,10 @@
$maintenance_mode = false;
// URL to the angel faq and job description
-$faq_url = "https://events.ccc.de/congress/2013/wiki/Static:Volunteers";
+$faq_url = 'https://events.ccc.de/congress/2013/wiki/Static:Volunteers';
// contact email address, linked on every page
-$contact_email = "mailto:ticket@c3heaven.de";
+$contact_email = 'mailto:ticket@c3heaven.de';
// Default-Theme auf der Startseite, 1=style1.css usw.
$default_theme = 1;
@@ -36,33 +36,33 @@ $enable_tshirt_size = true;
$max_freeloadable_shifts = 2;
// local timezone
-date_default_timezone_set("Europe/Berlin");
+date_default_timezone_set('Europe/Berlin');
-// multiply "night shifts" and freeloaded shifts (start or end between 2 and 6 exclusive) by 2
-$shift_sum_formula = "SUM(
+// multiply 'night shifts' and freeloaded shifts (start or end between 2 and 6 exclusive) by 2
+$shift_sum_formula = 'SUM(
(1+(
(HOUR(FROM_UNIXTIME(`Shifts`.`end`)) > 2 AND HOUR(FROM_UNIXTIME(`Shifts`.`end`)) < 6)
OR (HOUR(FROM_UNIXTIME(`Shifts`.`start`)) > 2 AND HOUR(FROM_UNIXTIME(`Shifts`.`start`)) < 6)
OR (HOUR(FROM_UNIXTIME(`Shifts`.`start`)) <= 2 AND HOUR(FROM_UNIXTIME(`Shifts`.`end`)) >= 6)
))*(`Shifts`.`end` - `Shifts`.`start`)*(1 - 3 * `ShiftEntry`.`freeloaded`)
-)";
+)';
// voucher calculation
$voucher_settings = [
- "initial_vouchers" => 2,
- "shifts_per_voucher" => 1
+ 'initial_vouchers' => 2,
+ 'shifts_per_voucher' => 1
];
// weigh every shift the same
-// $shift_sum_formula = "SUM(`end` - `start`)";
+// $shift_sum_formula = 'SUM(`end` - `start`)';
// For accessing stats
-$api_key = "";
+$api_key = '';
// MySQL-Connection Settings
$config = [
- 'host' => "localhost",
- 'user' => "root",
- 'pw' => "",
- 'db' => "engelsystem"
+ 'host' => 'localhost',
+ 'user' => 'root',
+ 'pw' => '',
+ 'db' => 'engelsystem'
];