diff --git a/plugins/account-create-hint.json b/plugins/account-create-hint.json index 87734108..3bf20037 100644 --- a/plugins/account-create-hint.json +++ b/plugins/account-create-hint.json @@ -1,6 +1,6 @@ { "name": "create-account-hint", - "description": "This plugin display text 'To play on Forgotten you need an account. All you have to do to create your new account is to enter an account name, password, country and your email address. Also you have to agree to the terms presented below. If you have done so, your account name will be shown on the following page and your account password will be sent to your email address along with further instructions. If you do not receive the email with your password, please check your spam filter.' on the create account page. Be careful when uninstalling this!", + "description": "This plugin display text 'To play on Forgotten you need an account. All you have to do to create your new account is to enter an account name, password, country and your email address. Also you have to agree to the terms presented below. If you have done so, your account name will be shown on the following page and your account password will be sent to your email address along with further instructions. If you do not receive the email with your password, please check your spam filter.' on the create account page.", "version": "1.0", "author": "slawkens", "contact": "slawkens@gmail.com", diff --git a/plugins/account-create-hint/hint.php b/plugins/account-create-hint/hint.php index b7ff8a7a..d1eab9ad 100644 --- a/plugins/account-create-hint/hint.php +++ b/plugins/account-create-hint/hint.php @@ -9,7 +9,4 @@ */ defined('MYAAC') or die('Direct access not allowed!'); -global $twig_loader; -$twig_loader->prependPath(BASE . 'plugins/account-create-hint'); - -$twig->display('hint.html.twig'); +$twig->display('account-create-hint/hint.html.twig');