diff --git a/common.php b/common.php index 6425d377..54d34751 100644 --- a/common.php +++ b/common.php @@ -92,6 +92,7 @@ if(!empty($CONF['language_hook']) && function_exists($CONF['language_hook'])) { Config::write('__LANG', $PALANG); +unset($incpath); if (!defined('POSTFIXADMIN_CLI')) { if(!is_file("$incpath/smarty.inc.php")) { @@ -99,5 +100,6 @@ if (!defined('POSTFIXADMIN_CLI')) { } require_once ("$incpath/smarty.inc.php"); } + /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ ?> diff --git a/broadcast-message.php b/public/broadcast-message.php similarity index 100% rename from broadcast-message.php rename to public/broadcast-message.php diff --git a/calendar.js b/public/calendar.js similarity index 100% rename from calendar.js rename to public/calendar.js diff --git a/public/common.php b/public/common.php new file mode 100644 index 00000000..3e4da4bb --- /dev/null +++ b/public/common.php @@ -0,0 +1,3 @@ + FALSE); -if(file_exists(dirname(__FILE__) . '/config.inc.php')) { - require_once('config.inc.php'); +if(file_exists(dirname(__FILE__) . '/../config.inc.php')) { + require_once(dirname(__FILE__) . '/../config.inc.php'); } if ( $CONF['configured'] === TRUE ) @@ -67,9 +67,9 @@ if ( $CONF['configured'] === TRUE )

What now?

    -
  1. Read the INSTALL.txt file
  2. +
  3. Read the INSTALL.TXT file
  4. Configure Postfix to use your chosen database - see (for example) the following pages : -