$t_imagick_convert = $tmp_path == "" ? 'not found. Please enter.' : $tmp_path; $tmp_path = check_for_binary('identify'); $t_imagick_identify = $tmp_path == "" ? 'not found. Please enter.' : $tmp_path; $tmp_path = check_for_binary('file'); $t_gnu_file = $tmp_path == "" ? 'not found. Please enter.' : $tmp_path; $tmp_path = check_for_binary('zip'); $t_gnu_zip = $tmp_path == "" ? 'not found. Please enter.' : $tmp_path; $tmp_path = check_for_binary('unzip'); $t_gnu_unzip = $tmp_path == "" ? 'not found. Please enter.' : $tmp_path; $t_includepath = determine_path('include' . DIRECTORY_SEPARATOR . 'smarty.inc.php', 'include'); $t_smartyskin = determine_path('skin', 'skin'); $t_smartybasepath = determine_path('include' . DIRECTORY_SEPARATOR . 'smarty' . DIRECTORY_SEPARATOR . 'Smarty.class.php', 'include' . DIRECTORY_SEPARATOR . 'smarty'); $t_upload = determine_path('upload', 'upload'); $t_export = determine_path('export', 'export'); $t_dilps = determine_path('dilps.lib.js', ''); $t_imagetmp = determine_path('images' . DIRECTORY_SEPARATOR . 'tmp', 'images' . DIRECTORY_SEPARATOR . 'tmp'); $t_authdomain = 'not found. Please enter.'; $t_ldapserver = 'not found. Please enter, if you want to use LDAP authentication.'; $t_basedn = 'not found. Please enter, if you want to use LDAP authentication.'; $t_mailserver = 'not found. Please enter, if you want to use IMAP authenication'; # install_state # 0 = no checks done # 1 = server ok, get database information # 2 = check the database information # 3 = install the database # 5 = get additional config information # 4 = write the config file $t_install_state = gpc_get_int('install', 0); $f_includepath = gpc_get_string('includepath', ''); $f_smartybasepath = gpc_get_string('smartybasepath', ''); $f_smartylang = gpc_get_string('smartylang', '');
$t_ldapserver = 'localhost'; $t_userclass = 'authStaticUser'; $t_includepath = 'not found. Please enter.'; $t_smartybasepath = 'not found. Please enter.'; // $t_smartylang = 'not found. Please enter.'; $t_smartyskin = 'not found. Please enter.'; $t_upload = 'not found. Please enter.'; // $t_backup = 'not found. Please enter.'; $t_export = 'not found. Please enter.'; $t_dilps = 'not found. Please enter.'; $t_includepath = determine_path('include' . DIRECTORY_SEPARATOR . 'smarty.inc.php', 'include'); $t_smartyskin = determine_path('skin', 'skin'); $t_smartybasepath = determine_path('include' . DIRECTORY_SEPARATOR . 'smarty' . DIRECTORY_SEPARATOR . 'Smarty.class.php', 'include' . DIRECTORY_SEPARATOR . 'smarty'); $t_upload = determine_path('upload', 'upload'); $t_export = determine_path('export', 'export'); $t_dilps = determine_path('dilps', 'dilps'); # install_state # 0 = no checks done # 1 = server ok, get database information # 2 = check the database information # 3 = install the database # 5 = get additional config information # 4 = write the config file $t_install_state = gpc_get_int('install', 0); $f_includepath = gpc_get_string('includepath', ''); $f_smartybasepath = gpc_get_string('smartybasepath', ''); $f_smartylang = gpc_get_string('smartylang', ''); $f_smartyskin = gpc_get_string('smartyskin', ''); $f_authdomain = gpc_get_string('authdomain', ''); $f_ldapserver = gpc_get_string('ldapserver', ''); $f_userclass = gpc_get_string('userclass', '');