Skip to content

Commit

Permalink
CS-5410: Sets config-dir parameter when URL is not valid and is handl…
Browse files Browse the repository at this point in the history
…ed via exception
  • Loading branch information
m038 committed Feb 9, 2015
1 parent 01c87af commit 6612abd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions newscoop/template_engine/classes/CampURIShortNames.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ public function __construct($p_uri = null)
if ($template->defined()) {
$this->m_template = $template;
}

CampTemplate::singleton()->config_dir = APPLICATION_PATH . '/../themes/' . $themePath . '_conf';
}

CampTemplate::singleton()->trigger_error($e->getMessage());
Expand Down

0 comments on commit 6612abd

Please sign in to comment.