Add back yydecode support

This commit is contained in:
DariusIII
2017-08-30 15:41:46 +02:00
parent 6b988d465d
commit f73e7285d3
3 changed files with 93 additions and 0 deletions
+5
View File
@@ -18,6 +18,8 @@
*/
use App\Models\Settings;
if (defined('NN_INSTALLER') && NN_INSTALLER !== false) {
$adapter = 'Php';
} else {
@@ -37,6 +39,9 @@ if (defined('NN_INSTALLER') && NN_INSTALLER !== false) {
ignored. Please update it to use the extension.', E_USER_WARNING
);
}
case !empty(Settings::value('apps..yydecoderpath', true)):
$adapter = 'Ydecode';
break;
default:
$adapter = 'Php';
}