From 2a58056fffeffa6af7dd37d1952881a73ff12a4e Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Tue, 9 Mar 2021 20:34:09 +0000 Subject: [PATCH] be more consistent with how we load common.php, improve comments --- common.php | 6 +++--- public/list.php | 3 ++- public/main.php | 2 +- public/xmlrpc.php | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/common.php b/common.php index 8bedc808..c57e20c6 100644 --- a/common.php +++ b/common.php @@ -15,10 +15,10 @@ * environment and ensures other functions are loaded. */ -if (!defined('POSTFIXADMIN')) { # already defined if called from setup.php - define('POSTFIXADMIN', 1); # checked in included files +if (!defined('POSTFIXADMIN')) { + define('POSTFIXADMIN', 1); - if (!defined('POSTFIXADMIN_CLI')) { + if (!defined('POSTFIXADMIN_CLI')) { // postfixadmin-cli // this is the default; see also https://sourceforge.net/p/postfixadmin/bugs/347/ session_cache_limiter('nocache'); session_name('postfixadmin_session'); diff --git a/public/list.php b/public/list.php index 3c76dbe9..d0ead055 100644 --- a/public/list.php +++ b/public/list.php @@ -1,4 +1,5 @@ -