1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-19 12:11:55 +02:00

Disabled the loading of legacy core path e107_themes/templates/*

This commit is contained in:
Cameron 2016-12-05 15:38:33 -08:00
parent 9fffab959c
commit 11a90dcbbb

View File

@ -2240,11 +2240,11 @@ class e107
}
elseif($legacy_override_path && is_readable($legacy_override_path)) //v1 override template.
{
return $legacy_override_path;
return $legacy_override_path;
}
elseif(is_readable($legacy_core_path)) //v1 core template.
{
return $legacy_core_path;
// return $legacy_core_path; // just asking for trouble.
}
return $core_path;