0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

remove more incpath usages

This commit is contained in:
David Goodwin 2018-01-25 21:13:36 +00:00
parent 2bb583a86a
commit f0be0ebf62

View File

@ -95,10 +95,10 @@ Config::write('__LANG', $PALANG);
unset($incpath);
if (!defined('POSTFIXADMIN_CLI')) {
if(!is_file("$incpath/smarty.inc.php")) {
if(!is_file(dirname(__FILE__) . "/smarty.inc.php")) {
die("smarty.inc.php is missing! Something is wrong...");
}
require_once ("$incpath/smarty.inc.php");
require_once (dirname(__FILE__) . "/smarty.inc.php");
}
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */