Skip to content

Commit

Permalink
Remove obsolete settings and code
Browse files Browse the repository at this point in the history
  • Loading branch information
bramley committed Jul 27, 2023
1 parent 3209434 commit c8de0a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 49 deletions.
13 changes: 0 additions & 13 deletions public_html/lists/admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -602,15 +602,6 @@ function mb_strtolower($string)
}
}

/*
if (USEFCK) {
$imgdir = getenv("DOCUMENT_ROOT").$GLOBALS["pageroot"].'/'.FCKIMAGES_DIR.'/';
if (!is_dir($imgdir) || !is_writeable ($imgdir)) {
Warn("The FCK image directory does not exist, or is not writable");
}
}
*/

/*
*
* show global news, based on the version in use
Expand Down Expand Up @@ -703,10 +694,6 @@ function mb_strtolower($string)
*
* **/

if (defined('USE_PDF') && USE_PDF && !defined('FPDF_VERSION')) {
Warn($GLOBALS['I18N']->get('You are trying to use PDF support without having FPDF loaded'));
}

if (WARN_ABOUT_PHP_SETTINGS && !$GLOBALS['commandline']) {
if (strpos(getenv('REQUEST_URI'), $pageroot.'/admin') !== 0) {
Warn(s(
Expand Down
36 changes: 0 additions & 36 deletions public_html/lists/admin/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,6 @@
if (!defined('REGISTER')) {
define('REGISTER', 1);
}
if (!defined('USE_PDF')) {
define('USE_PDF', 0);
}
if (!defined('VERBOSE')) {
define('VERBOSE', 0);
}
Expand Down Expand Up @@ -259,12 +256,6 @@
if (!defined('PAGETEXTCREDITS')) {
define('PAGETEXTCREDITS', 0);
}
if (!defined('USEFCK')) {
define('USEFCK', 1);
}
if (!defined('USECK')) {
define('USECK', 0);
} //# ckeditor integration, not finished yet
if (!defined('ASKFORPASSWORD')) {
define('ASKFORPASSWORD', 0);
}
Expand Down Expand Up @@ -331,9 +322,6 @@
//# remember the length of a hashed string
$hash_length = strlen(hash(HASH_ALGO, 'some text'));

if (!defined('PHPMAILER')) {
define('PHPMAILER', 1);
}
if (!defined('WARN_ABOUT_PHP_SETTINGS')) {
define('WARN_ABOUT_PHP_SETTINGS', 1);
}
Expand Down Expand Up @@ -391,9 +379,6 @@
if (!defined('USE_REPETITION')) {
define('USE_REPETITION', 0);
}
if (!defined('USE_EDITMESSAGE')) {
define('USE_EDITMESSAGE', 0);
}
if (!defined('FCKIMAGES_DIR')) {
define('FCKIMAGES_DIR', 'uploadimages');
}
Expand Down Expand Up @@ -424,9 +409,6 @@
if (!defined('NAME')) {
define('NAME', 'phpList');
}
if (!defined('USE_OUTLOOK_OPTIMIZED_HTML')) {
define('USE_OUTLOOK_OPTIMIZED_HTML', 0);
}
if (!defined('EXPORT_EXCEL')) {
define('EXPORT_EXCEL', 0);
}
Expand All @@ -442,12 +424,6 @@
if (!defined('USE_LIST_EXCLUDE')) {
define('USE_LIST_EXCLUDE', 0);
}
if (!defined('WARN_SAVECHANGES')) {
define('WARN_SAVECHANGES', 1);
}
if (!defined('STACKED_ATTRIBUTE_SELECTION')) {
define('STACKED_ATTRIBUTE_SELECTION', 0);
}
if (!defined('ATTRIBUTEVALUE_REORDER_LIMIT')) {
define('ATTRIBUTEVALUE_REORDER_LIMIT', 100);
}
Expand All @@ -460,15 +436,6 @@
if (!defined('CLICKTRACK_SHOWDETAIL')) {
define('CLICKTRACK_SHOWDETAIL', 0);
}
if (!defined('USETINYMCEMESG')) {
define('USETINYMCEMESG', 0);
}
if (!defined('USETINYMCETEMPL')) {
define('USETINYMCETEMPL', 0);
}
if (!defined('TINYMCEPATH')) {
define('TINYMCEPATH', '');
}
if (!defined('STATS_INTERVAL')) {
define('STATS_INTERVAL', 'weekly');
}
Expand Down Expand Up @@ -623,9 +590,6 @@
if (!defined('MAX_MAILSIZE')) {
define('MAX_MAILSIZE', 209715200);
} // in bytes, 200Mb
if (!defined('INTERFACELIB')) {
define('INTERFACELIB', 1);
}
if (!defined('POP_BEFORE_SMTP')) {
define('POP_BEFORE_SMTP', '');
}
Expand Down

0 comments on commit c8de0a7

Please sign in to comment.