Skip to content
Permalink
Browse files

Merge branch 'hotfix/CanSpecifyFullPath'

  • Loading branch information...
taliesinmillhouse committed Sep 10, 2019
2 parents ff6ba4c + 686acb3 commit 0927df883acd6648122076cb4cae688a394a2f86
Showing with 3 additions and 1 deletion.
  1. +1 −1 system/modules/admin/admin.hooks.php
  2. +2 −0 system/web.php
@@ -43,4 +43,4 @@ function admin_core_dbobject_after_insert(Web $w, DbObject $object) {
*/
function admin_core_web_before(Web $w) {
$w->Audit->addAuditLogEntry();
}
}
@@ -1760,6 +1760,8 @@ function templateExists($name) {
$paths[] = $this->_templatePath;
// Add system fallback
$paths[] = SYSTEM_PATH . "/" . $this->_templatePath;
// Allow specifying the full path
$paths[] = ROOT_PATH;
$names = array();
if ($name) {

0 comments on commit 0927df8

Please sign in to comment.
You can’t perform that action at this time.