mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Change check from !empty to !== null in bootstrap/yenc.php
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2017-09-01 DariusIII
|
||||
* Chg: Change check from !empty to !== null in bootstrap/yenc.php
|
||||
* Chg: Replace leftover references to nntmux\db\Settings with proper nntmux\db\DB
|
||||
* Chg: Add predis/predis
|
||||
* Chg: Update value fetching and autoloading
|
||||
|
||||
+5
-5
@@ -32,12 +32,12 @@ if (defined('NN_INSTALLER') && NN_INSTALLER !== false) {
|
||||
) {
|
||||
$adapter = 'NzedbYenc';
|
||||
break;
|
||||
} else {
|
||||
trigger_error('Your version of the php-yenc extension is out of date and will be
|
||||
ignored. Please update it to use the extension.', E_USER_WARNING
|
||||
);
|
||||
}
|
||||
case ! empty(Settings::settingValue('apps..yydecoderpath')):
|
||||
trigger_error('Your version of the php-yenc extension is out of date and will be
|
||||
ignored. Please update it to use the extension.', E_USER_WARNING
|
||||
);
|
||||
|
||||
case Settings::settingValue('apps..yydecoderpath') !== null:
|
||||
$adapter = 'Ydecode';
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user