- set _rootdir before include language file

This commit is contained in:
steinm 2012-01-17 08:32:34 +00:00
parent c196697420
commit 4446cfc7e2

View File

@ -1,11 +1,13 @@
<?php
define("LETODMS_INSTALL", "on");
include("../inc/inc.Settings.php");
$settings = new Settings();
$rootDir = realpath ("..");
$settings->_rootDir = $rootDir.'/';
include("../inc/inc.Language.php");
include("../inc/inc.ClassUI.php");
$settings = new Settings();
UI::htmlStartPage("INSTALL");
UI::contentHeading("letoDMS Installation...");
UI::contentContainerStart();