mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 06:45:54 +00:00
allow overriding built-in templates via templates.local
This commit is contained in:
@@ -235,11 +235,9 @@ class Auth_Internal extends Plugin implements IAuthModule {
|
||||
if ($row = $sth->fetch()) {
|
||||
$mailer = new Mailer();
|
||||
|
||||
require_once "lib/MiniTemplator.class.php";
|
||||
$tpl = new Templator();
|
||||
|
||||
$tpl = new MiniTemplator;
|
||||
|
||||
$tpl->readTemplateFromFile("templates/password_change_template.txt");
|
||||
$tpl->readTemplateFromFile("password_change_template.txt");
|
||||
|
||||
$tpl->setVariable('LOGIN', $row["login"]);
|
||||
$tpl->setVariable('TTRSS_HOST', SELF_URL_PATH);
|
||||
|
||||
Reference in New Issue
Block a user