You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/scripts
Christian Boltz ba8fc89347 Preparation for removing the $username parameter from db_log()
(will be detected by authentication_get_username() instead)

scripts/postfixadmin-cli.php:
- define ("POSTFIXADMIN_CLI", 1) (we have no session running and need a
  way to tell authentication_get_username() that this is a CLI access)

functions.inc.php:
- authentication_get_username(): check for POSTFIXADMIN_CLI constant,
  return 'CLI' if set
  (hmmm, do we need a similar thing for XMLRPC?)
- db_log(): override $username parameter with authentication_get_username()
  (removing it from function parameters will be my next big commit)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@965 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
..
shells shells/domain.php: delete handling, adopted parameter changes 14 years ago
snippets two small bugfixes: 14 years ago
common.php moved scripts/models-ext/* to model/ 14 years ago
inflector.php list-virtual.php: 14 years ago
postfixadmin-cli postfixadmin-cli: 14 years ago
postfixadmin-cli.php Preparation for removing the $username parameter from db_log() 14 years ago