Extracted all corpus configuration info from index.php and made a json hash for this info in index_config.json.
Added PHP function for corpus config lookup (get_corpus_config()). Replaced META tag charset if-elseif chain with the config lookup function.
Added 'uilang' : 'no' to default corpus config in index_config.json. Replaced uilang if/elseif chains with corpus config lookup.
Formatting changes and some error fixes in the index_config.json.
Replaced javascript include if/elseif chain with corpus config lookup.
Minor error fix in index_config.json.
Added .inc file lookup function to index.php. Replaced .inc file inclusion if/elseif chain with .inc file lookup.
Tiny bugfix (lack of ?php tag) in bokmal_cred.inc.
Added credentials inc file to bokmal and bokmal_test.
Added function for inclusion of credentials .inc file to corpus config lookup. Replaced credentials if/elseif chain with credentials config lookup.
Merge branch 'master' of github.com:textlab/glossa-foni-htdocs