1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-12-03 23:11:12 +03:00
Files
postfixadmin/scripts/postfixadmin-cli.php
Christian Boltz 5e93dfe604 postfixadmin-cli: drop (undocumented) -webroot etc.
Dropping the -webroot parameter (which basically means hardcoding that
../common.php has to exist) allows to do quite some cleanup.

Also unconditionally require_once('../common.php') to ensure that
everything we expect in the global namespace (like the 'Conf' class) is
there.

This allows even more cleanup. We get rid of __bootstrap() and some
constants, and can simplify parameter handling.
2018-03-25 21:15:45 +02:00

13 KiB