PostfixAdmin for BananaNetwork - to apply required patches before release or release in async to the official version
https://github.com/postfixadmin/postfixadmin
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.
4d9a338eb2
found out that the 'Config' class is too static - it shares its static data with the 'Lang' child class. This caused a conflict because we have $CONF[transport] and $PALANG[transport], and Config::read('transport') returned the $PALANG text. To fix this, all texts are now stored as $CONF[__LANG]. I also dropped the 'Lang' class. model/Config.php: - mark the 'Config' class as final to ensure we don't trap into the "too static" problem again. - bool(): display and log an error message if a $CONF option does not contain YES or NO (that would have uncovered this bug much earlier) - add lang() and lang_f() wrapper functions to get $PALANG texts - remove unused $__cache and $__objects model/Lang.php: - deleted common.php: - store $PALANG as $CONF[__LANG] lots of files: - replace Lang::read() and Lang::read_f() calls with Config::lang() and Config::lang_f() git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1536 a1433add-5e2c-0410-b055-b7f2511e0802 |
11 years ago | |
---|---|---|
ADDITIONS | 11 years ago | |
DOCUMENTS | 12 years ago | |
VIRTUAL_VACATION | 12 years ago | |
admin | 17 years ago | |
configs | 12 years ago | |
css | 13 years ago | |
debian | 12 years ago | |
images | 13 years ago | |
languages | 11 years ago | |
model | 11 years ago | |
scripts | 11 years ago | |
smarty | 13 years ago | |
templates | 11 years ago | |
tests | 14 years ago | |
users | 11 years ago | |
CHANGELOG.TXT | 13 years ago | |
GPL-LICENSE.TXT | 18 years ago | |
INSTALL.TXT | 14 years ago | |
LICENSE.TXT | 14 years ago | |
backup.php | 13 years ago | |
broadcast-message.php | 14 years ago | |
calendar.js | 15 years ago | |
common.php | 11 years ago | |
config.inc.php | 12 years ago | |
delete.php | 14 years ago | |
edit.php | 11 years ago | |
fetchmail.php | 11 years ago | |
functions.inc.php | 11 years ago | |
index.php | 16 years ago | |
list-admin.php | 13 years ago | |
list-domain.php | 11 years ago | |
list-virtual.php | 11 years ago | |
login.php | 12 years ago | |
logout.php | 16 years ago | |
main.php | 15 years ago | |
sendmail.php | 12 years ago | |
setup.php | 11 years ago | |
smarty.inc.php | 12 years ago | |
upgrade.php | 11 years ago | |
vacation.php | 13 years ago | |
variables.inc.php | 14 years ago | |
viewlog.php | 14 years ago | |
xmlrpc.php | 12 years ago |