From a414eb4154e9ab7e48319fa55405be3b40755bad Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Tue, 20 Oct 2015 01:18:04 +0300 Subject: [PATCH] default language --- schedule/parse.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/schedule/parse.php b/schedule/parse.php index 3da8c6f..3282cc6 100644 --- a/schedule/parse.php +++ b/schedule/parse.php @@ -9,6 +9,9 @@ $data = require __DIR__ . DIRECTORY_SEPARATOR . 'load.php'; +/* sensible default */ +if (empty($lang)) $lang = 'bg'; + $cut_len = 70; $cfp_url = 'http://cfp.openfest.org'; $time = 0;