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:
parent
2bb583a86a
commit
f0be0ebf62
@ -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: */
|
||||
|
Loading…
Reference in New Issue
Block a user