SF.net SVN: postfixadmin:[1070] trunk
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2011-06-02 23:42:12
|
Revision: 1070 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=1070&view=rev Author: christian_boltz Date: 2011-06-02 23:42:06 +0000 (Thu, 02 Jun 2011) Log Message: ----------- smarty.inc.php: - replaced last usage of $CONF['postfix_admin_path'] with $incpath config.inc.php: - drop (now unused) $CONF['postfix_admin_path'] config variable Modified Paths: -------------- trunk/config.inc.php trunk/smarty.inc.php Modified: trunk/config.inc.php =================================================================== --- trunk/config.inc.php 2011-06-02 23:13:34 UTC (rev 1069) +++ trunk/config.inc.php 2011-06-02 23:42:06 UTC (rev 1070) @@ -34,9 +34,6 @@ // YOU MUST ENTER THE COMPLETE URL e.g. http://domain.tld/postfixadmin $CONF['postfix_admin_url'] = ''; -// shouldn't need changing. -$CONF['postfix_admin_path'] = dirname(__FILE__); - // Language config // Language files are located in './languages', change as required.. $CONF['default_language'] = 'en'; Modified: trunk/smarty.inc.php =================================================================== --- trunk/smarty.inc.php 2011-06-02 23:13:34 UTC (rev 1069) +++ trunk/smarty.inc.php 2011-06-02 23:42:06 UTC (rev 1070) @@ -71,7 +71,7 @@ $motd_file = "motd.txt"; } $smarty->assign('motd_file', ''); -if (file_exists ($CONF ['postfix_admin_path'].'/templates/'.$motd_file)) { +if (file_exists ($incpath.'/templates/'.$motd_file)) { $smarty->assign ('motd_file', $motd_file); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |