X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fconfig.php;h=d50782a1daac0c90a0eb5d57dd1d1ec9749ee8fe;hp=8f25248f9dcb10370ba8a73f1632ca8f714c97e9;hb=8ff12f905898b0c2b7ff8124c9749ad6fb9c44f3;hpb=a2cc983f5fe910115d25800c258875a3919fb143 diff --git a/inc/config.php b/inc/config.php index 8f25248..d50782a 100644 --- a/inc/config.php +++ b/inc/config.php @@ -42,7 +42,7 @@ $cfg->setConfigEntry('base_url', $cfg->detectBaseUrl()); $cfg->setConfigEntry('db_type', "local"); // CFG: LOCAL-DB-PATH -$cfg->setConfigEntry('local_db_path', $cfg->readConfig('base_path', "db/")); +$cfg->setConfigEntry('local_db_path', $cfg->readConfig('base_path') . "db/"); // CFG: TIME-ZONE $cfg->setDefaultTimezone("Europe/Berlin"); @@ -84,7 +84,7 @@ $cfg->setConfigEntry('lang_base_path', "inc/language/"); // DON'T MISS THE TRAIL $cfg->setConfigEntry('compressor_base_path', "inc/classes/main/compressor/"); // DON'T MISS THE TRAILING SLASH! // CFG: APPLICATION-PATH -$cfg->setConfigEntry('application_path', "application"); +$cfg->setConfigEntry('application_path', $cfg->readConfig('base_path') . "application/"); // CFG: COMPILE-OUTPUT-PATH $cfg->setConfigEntry('compile_output_path', "templates/_compiled/"); // DON'T MISS THE TRAILING SLASH! @@ -116,9 +116,6 @@ $cfg->setConfigEntry('tpl_selector_prefix', "selector"); // CFG: WEB-CONTENT-TYPE $cfg->setConfigEntry('web_content_type', "text/html"); -// CFG: HEADER-CHARSET -$cfg->setConfigEntry('header_charset', "utf-8"); - // CFG: VALID-TEMPLATE-VARIABLE $cfg->setConfigEntry('tpl_valid_var', "content");