array('folder'=>'en','hr'=>'------ Reply above this line ------')); error_reporting(E_ALL); require(HESK_PATH . 'inc/common.inc.php'); require(HESK_PATH . 'inc/admin_functions.inc.php'); require(HESK_PATH . 'inc/setup_functions.inc.php'); hesk_load_database_functions(); // Start the session hesk_session_start(); // ******* FUNCTIONS ******* // function hesk_iTestDatabaseConnection() { global $hesk_settings, $hesklang; $db_success = 1; $hesk_settings['db_host'] = hesk_input( hesk_POST('host') ); $hesk_settings['db_name'] = hesk_input( hesk_POST('name') ); $hesk_settings['db_user'] = hesk_input( hesk_POST('user') ); $hesk_settings['db_pass'] = hesk_input( hesk_POST('pass') ); // Allow & in password $hesk_settings['db_pass'] = str_replace('&', '&', $hesk_settings['db_pass']); // Use MySQLi extension to connect? $use_mysqli = function_exists('mysqli_connect') ? true : false; // Start output buffering ob_start(); // Connect to database if ($use_mysqli) { // Do we need a special port? Check and connect to the database if ( strpos($hesk_settings['db_host'], ':') ) { list($hesk_settings['db_host'], $hesk_settings['db_port']) = explode(':', $hesk_settings['db_host']); $hesk_db_link = mysqli_connect($hesk_settings['db_host'], $hesk_settings['db_user'], $hesk_settings['db_pass'], $hesk_settings['db_name'], intval($hesk_settings['db_port']) ) or $db_success=0; } else { $hesk_db_link = mysqli_connect($hesk_settings['db_host'], $hesk_settings['db_user'], $hesk_settings['db_pass'], $hesk_settings['db_name']) or $db_success=0; } } else { $hesk_db_link = mysql_connect($hesk_settings['db_host'],$hesk_settings['db_user'], $hesk_settings['db_pass']) or $db_success=0; // Select database works OK? if ($db_success == 1 && ! mysql_select_db($hesk_settings['db_name'], $hesk_db_link) ) { // No, try to create the database if (function_exists('mysql_create_db') && mysql_create_db($hesk_settings['db_name'], $hesk_db_link)) { if (mysql_select_db($hesk_settings['db_name'], $hesk_db_link)) { $db_success = 1; } else { $db_success = 0; } } else { $db_success = 0; } } } ob_end_clean(); // Any errors? if ( ! $db_success) { global $mysql_log; $mysql_log = $use_mysqli ? mysqli_connect_error() : mysql_error(); hesk_iDatabase(1); } // Check MySQL version define('MYSQL_VERSION', hesk_dbResult( hesk_dbQuery('SELECT VERSION() AS version') ) ); if ( version_compare(MYSQL_VERSION,REQUIRE_MYSQL_VERSION,'<') ) { hesk_iDatabase(5); } return $hesk_db_link; } // END hesk_iTestDatabaseConnection() function hesk_iSaveSettingsFile($set) { global $hesk_settings, $hesklang; $settings_file_content=' GENERAL // --> General settings $hesk_settings[\'site_title\']=\'' . $set['site_title'] . '\'; $hesk_settings[\'site_url\']=\'' . $set['site_url'] . '\'; $hesk_settings[\'webmaster_mail\']=\'' . $set['webmaster_mail'] . '\'; $hesk_settings[\'noreply_mail\']=\'' . $set['noreply_mail'] . '\'; $hesk_settings[\'noreply_name\']=\'' . $set['noreply_name'] . '\'; // --> Language settings $hesk_settings[\'can_sel_lang\']=' . $set['can_sel_lang'] . '; $hesk_settings[\'language\']=\'' . $set['language'] . '\'; $hesk_settings[\'languages\']=array( \'English\' => array(\'folder\'=>\'en\',\'hr\'=>\'------ Reply above this line ------\'), ); // --> Database settings $hesk_settings[\'db_host\']=\'' . $set['db_host'] . '\'; $hesk_settings[\'db_name\']=\'' . $set['db_name'] . '\'; $hesk_settings[\'db_user\']=\'' . $set['db_user'] . '\'; $hesk_settings[\'db_pass\']=\'' . $set['db_pass'] . '\'; $hesk_settings[\'db_pfix\']=\'' . $set['db_pfix'] . '\'; $hesk_settings[\'db_vrsn\']=' . $set['db_vrsn'] . '; // ==> HELP DESK // --> Help desk settings $hesk_settings[\'hesk_title\']=\'' . $set['hesk_title'] . '\'; $hesk_settings[\'hesk_url\']=\'' . $set['hesk_url'] . '\'; $hesk_settings[\'admin_dir\']=\'' . $set['admin_dir'] . '\'; $hesk_settings[\'attach_dir\']=\'' . $set['attach_dir'] . '\'; $hesk_settings[\'max_listings\']=' . $set['max_listings'] . '; $hesk_settings[\'print_font_size\']=' . $set['print_font_size'] . '; $hesk_settings[\'autoclose\']=' . $set['autoclose'] . '; $hesk_settings[\'max_open\']=' . $set['max_open'] . '; $hesk_settings[\'new_top\']=' . $set['new_top'] . '; $hesk_settings[\'reply_top\']=' . $set['reply_top'] . '; // --> Features $hesk_settings[\'autologin\']=' . $set['autologin'] . '; $hesk_settings[\'autoassign\']=' . $set['autoassign'] . '; $hesk_settings[\'custclose\']=' . $set['custclose'] . '; $hesk_settings[\'custopen\']=' . $set['custopen'] . '; $hesk_settings[\'rating\']=' . $set['rating'] . '; $hesk_settings[\'cust_urgency\']=' . $set['cust_urgency'] . '; $hesk_settings[\'sequential\']=' . $set['sequential'] . '; $hesk_settings[\'time_worked\']=' . $set['time_worked'] . '; $hesk_settings[\'spam_notice\']=' . $set['spam_notice'] . '; $hesk_settings[\'list_users\']=' . $set['list_users'] . '; $hesk_settings[\'debug_mode\']=' . $set['debug_mode'] . '; $hesk_settings[\'short_link\']=' . $set['short_link'] . '; $hesk_settings[\'select_cat\']=' . $set['select_cat'] . '; $hesk_settings[\'select_pri\']=' . $set['select_pri'] . '; // --> SPAM Prevention $hesk_settings[\'secimg_use\']=' . $set['secimg_use'] . '; $hesk_settings[\'secimg_sum\']=\'' . $set['secimg_sum'] . '\'; $hesk_settings[\'recaptcha_use\']=' . $set['recaptcha_use'] . '; $hesk_settings[\'recaptcha_public_key\']=\'' . $set['recaptcha_public_key'] . '\'; $hesk_settings[\'recaptcha_private_key\']=\'' . $set['recaptcha_private_key'] . '\'; $hesk_settings[\'question_use\']=' . $set['question_use'] . '; $hesk_settings[\'question_ask\']=\'' . $set['question_ask'] . '\'; $hesk_settings[\'question_ans\']=\'' . $set['question_ans'] . '\'; // --> Security $hesk_settings[\'attempt_limit\']=' . $set['attempt_limit'] . '; $hesk_settings[\'attempt_banmin\']=' . $set['attempt_banmin'] . '; $hesk_settings[\'reset_pass\']=' . $set['reset_pass'] . '; $hesk_settings[\'email_view_ticket\']=' . $set['email_view_ticket'] . '; // --> Attachments $hesk_settings[\'attachments\']=array ( \'use\' => ' . $set['attachments']['use'] . ', \'max_number\' => ' . $set['attachments']['max_number'] . ', \'max_size\' => ' . $set['attachments']['max_size'] . ', \'allowed_types\' => array(\'' . implode('\',\'',$set['attachments']['allowed_types']) . '\') ); // ==> KNOWLEDGEBASE // --> Knowledgebase settings $hesk_settings[\'kb_enable\']=' . $set['kb_enable'] . '; $hesk_settings[\'kb_wysiwyg\']=' . $set['kb_wysiwyg'] . '; $hesk_settings[\'kb_search\']=' . $set['kb_search'] . '; $hesk_settings[\'kb_search_limit\']=' . $set['kb_search_limit'] . '; $hesk_settings[\'kb_views\']=' . $set['kb_views'] . '; $hesk_settings[\'kb_date\']=' . $set['kb_date'] . '; $hesk_settings[\'kb_recommendanswers\']=' . $set['kb_recommendanswers'] . '; $hesk_settings[\'kb_rating\']=' . $set['kb_rating'] . '; $hesk_settings[\'kb_substrart\']=' . $set['kb_substrart'] . '; $hesk_settings[\'kb_cols\']=' . $set['kb_cols'] . '; $hesk_settings[\'kb_numshow\']=' . $set['kb_numshow'] . '; $hesk_settings[\'kb_popart\']=' . $set['kb_popart'] . '; $hesk_settings[\'kb_latest\']=' . $set['kb_latest'] . '; $hesk_settings[\'kb_index_popart\']=' . $set['kb_index_popart'] . '; $hesk_settings[\'kb_index_latest\']=' . $set['kb_index_latest'] . '; $hesk_settings[\'kb_related\']=' . $set['kb_related'] . '; // ==> EMAIL // --> Email sending $hesk_settings[\'smtp\']=' . $set['smtp'] . '; $hesk_settings[\'smtp_host_name\']=\'' . $set['smtp_host_name'] . '\'; $hesk_settings[\'smtp_host_port\']=' . $set['smtp_host_port'] . '; $hesk_settings[\'smtp_timeout\']=' . $set['smtp_timeout'] . '; $hesk_settings[\'smtp_ssl\']=' . $set['smtp_ssl'] . '; $hesk_settings[\'smtp_tls\']=' . $set['smtp_tls'] . '; $hesk_settings[\'smtp_user\']=\'' . $set['smtp_user'] . '\'; $hesk_settings[\'smtp_password\']=\'' . $set['smtp_password'] . '\'; // --> Email piping $hesk_settings[\'email_piping\']=' . $set['email_piping'] . '; // --> POP3 Fetching $hesk_settings[\'pop3\']=' . $set['pop3'] . '; $hesk_settings[\'pop3_job_wait\']=' . $set['pop3_job_wait'] . '; $hesk_settings[\'pop3_host_name\']=\'' . $set['pop3_host_name'] . '\'; $hesk_settings[\'pop3_host_port\']=' . $set['pop3_host_port'] . '; $hesk_settings[\'pop3_tls\']=' . $set['pop3_tls'] . '; $hesk_settings[\'pop3_keep\']=' . $set['pop3_keep'] . '; $hesk_settings[\'pop3_user\']=\'' . $set['pop3_user'] . '\'; $hesk_settings[\'pop3_password\']=\'' . $set['pop3_password'] . '\'; // --> Email loops $hesk_settings[\'loop_hits\']=' . $set['loop_hits'] . '; $hesk_settings[\'loop_time\']=' . $set['loop_time'] . '; // --> Detect email typos $hesk_settings[\'detect_typos\']=' . $set['detect_typos'] . '; $hesk_settings[\'email_providers\']=array(' . $set['email_providers'] . '); // --> Notify customer when $hesk_settings[\'notify_new\']=' . $set['notify_new'] . '; $hesk_settings[\'notify_skip_spam\']=' . $set['notify_skip_spam'] . '; $hesk_settings[\'notify_spam_tags\']=array(' . $set['notify_spam_tags'] . '); $hesk_settings[\'notify_closed\']=' . $set['notify_closed'] . '; // --> Other $hesk_settings[\'strip_quoted\']=' . $set['strip_quoted'] . '; $hesk_settings[\'eml_req_msg\']=' . $set['eml_req_msg'] . '; $hesk_settings[\'save_embedded\']=' . $set['save_embedded'] . '; $hesk_settings[\'multi_eml\']=' . $set['multi_eml'] . '; $hesk_settings[\'confirm_email\']=' . $set['confirm_email'] . '; $hesk_settings[\'open_only\']=' . $set['open_only'] . '; // ==> TICKET LIST $hesk_settings[\'ticket_list\']=array(\'' . implode('\',\'',$set['ticket_list']) . '\'); // --> Other $hesk_settings[\'submittedformat\']=\'' . $set['submittedformat'] . '\'; $hesk_settings[\'updatedformat\']=\'' . $set['updatedformat'] . '\'; // ==> MISC // --> Date & Time $hesk_settings[\'diff_hours\']=' . $set['diff_hours'] . '; $hesk_settings[\'diff_minutes\']=' . $set['diff_minutes'] . '; $hesk_settings[\'daylight\']=' . $set['daylight'] . '; $hesk_settings[\'timeformat\']=\'' . $set['timeformat'] . '\'; // --> Other $hesk_settings[\'ip_whois\']=\'' . $set['ip_whois'] . '\'; $hesk_settings[\'maintenance_mode\']=' . $set['maintenance_mode'] . '; $hesk_settings[\'alink\']=' . $set['alink'] . '; $hesk_settings[\'submit_notice\']=' . $set['submit_notice'] . '; $hesk_settings[\'online\']=' . $set['online'] . '; $hesk_settings[\'online_min\']=' . $set['online_min'] . '; $hesk_settings[\'check_updates\']=' . $set['check_updates'] . '; // ==> CUSTOM FIELDS $hesk_settings[\'custom_fields\']=array ( '; for ($i=1;$i<=20;$i++) { $settings_file_content.='\'custom'.$i.'\'=>array(\'use\'=>'.$set['custom_fields']['custom'.$i]['use'].',\'place\'=>'.$set['custom_fields']['custom'.$i]['place'].',\'type\'=>\''.$set['custom_fields']['custom'.$i]['type'].'\',\'req\'=>'.$set['custom_fields']['custom'.$i]['req'].',\'name\'=>\''.$set['custom_fields']['custom'.$i]['name'].'\',\'maxlen\'=>'.$set['custom_fields']['custom'.$i]['maxlen'].',\'value\'=>\''.$set['custom_fields']['custom'.$i]['value'].'\')'; if ($i!=20) {$settings_file_content.=', ';} } $settings_file_content.=' ); ############################# # DO NOT EDIT BELOW # ############################# $hesk_settings[\'hesk_version\']=\'' . $set['hesk_version'] . '\'; if ($hesk_settings[\'debug_mode\']) { error_reporting(E_ALL); } else { error_reporting(0); } if (!defined(\'IN_SCRIPT\')) {die(\'Invalid attempt!\');}'; // Write to the settings file if ( ! file_put_contents(HESK_PATH . 'hesk_settings.inc.php', $settings_file_content) ) { hesk_error($hesklang['err_openset']); } return true; } // END hesk_iSaveSettingsFile() function hesk_iDatabase($problem=0) { global $hesk_settings, $hesk_db_link, $mysql_log; hesk_iHeader(); ?>

Summary

To complete setup HESK needs to connect to your database. You can get this information from your hosting control panel.

3. Database Settings
Database Settings
'; echo '

Double-check all the information below. Contact your hosting company for the correct information to use!

MySQL said: '.$mysql_log.'

', 'Database connection failed'; echo '
'; } elseif ($problem == 2) { echo '
'; echo 'Database tables already exist!

HESK database tables with '.$hesk_settings['db_pfix'].' prefix already exist in this database!

To upgrade an existing HESK installation select Update existing install instead.

To install a new copy of HESK in use a unique table prefix.'; echo '
'; } elseif ($problem == 3) { echo '
'; echo 'Old database tables not found!

HESK database tables have not been found in this database!

To install HESK use the New install option instead.'; echo '
'; } elseif ($problem == 4) { echo '
'; echo 'Version '.HESK_NEW_VERSION.' tables already exist!

Your database seems to be compatible with HESK version '.HESK_NEW_VERSION.'

To install a new copy of HESK use the New install option instead.'; echo '
'; } elseif ($problem == 5) { hesk_show_error('MySQL version '.REQUIRE_MYSQL_VERSION.'+ required, you are using: ' . MYSQL_VERSION . '

You are using and old and insecure MySQL version with known bugs, security issues and outdated functionality.

Ask your hosting company to update your MySQL version.'); } ?>

HESK Login Details
Username and password you will use to login into HESK administration.

'.REQUIRE_PHP_VERSION.'+ required, you are using: ' . PHP_VERSION . '

You are using and old and insecure PHP version with known bugs, security issues and outdated functionality.

Ask your hosting company to update your PHP version. '; } // 2. File hesk_settings.inc.php must be writable if ( ! is__writable(HESK_PATH . 'hesk_settings.inc.php') ) { // -> try to CHMOD it if ( function_exists('chmod') ) { @chmod(HESK_PATH . 'hesk_settings.inc.php', 0666); } // -> test again if ( ! is__writable(HESK_PATH . 'hesk_settings.inc.php') ) { $correct_these[] = ' File hesk_settings.inc.php is not writable by PHP.

Make sure PHP has permission to write to file hesk_settings.inc.php

» on Linux servers CHMOD this file to 666 (rw-rw-rw-)
» on Windows servers allow Internet Guest Account to modify the file
» contact your hosting company for help with setting up file permissions. '; } } // 3. Folder attachments must exist $hesk_settings['attach_dir_name'] = isset($hesk_settings['attach_dir']) ? $hesk_settings['attach_dir'] : 'attachments'; $hesk_settings['attach_dir'] = HESK_PATH . $hesk_settings['attach_dir_name']; // -> Try to create it if ( ! file_exists($hesk_settings['attach_dir']) ) { @mkdir($hesk_settings['attach_dir'], 0755); } // -> Is the folder now there? if ( is_dir($hesk_settings['attach_dir']) ) { // -> Is it writable? if ( ! is__writable($hesk_settings['attach_dir']) ) { // -> try to CHMOD it @chmod($hesk_settings['attach_dir'], 0777); // -> test again if ( ! is__writable($hesk_settings['attach_dir']) ) { $correct_these[] = ' Folder ' . $hesk_settings['attach_dir_name'] . ' is not writable by PHP.

Make sure PHP has permission to write to folder ' . $hesk_settings['attach_dir_name'] . '

» on Linux servers CHMOD this folder to 777 (rwxrwxrwx)
» on Windows servers allow Internet Guest Account to modify the folder
» contact your hosting company for help with setting up folder permissions. '; } } } else { $correct_these[] = ' Folder ' . $hesk_settings['attach_dir_name'] . ' is missing.

Create a folder called ' . $hesk_settings['attach_dir_name'] . ' inside your main HESK folder.

'; } // 4. MySQL must be available if ( ! function_exists('mysql_connect') && ! function_exists('mysqli_connect') ) { $correct_these[] = ' MySQL is disabled.

HESK requires MySQL to be installed and enabled.

Ask your hosting company to enable MySQL for PHP. '; } // 5. Can we use GD library? $GD_LIB = ( extension_loaded('gd') && function_exists('gd_info') ) ? true : false; // 6. Make sure old files are deleted $old_files = array( // pre-0.93 *.inc files 'hesk_settings.inc','hesk.sql','inc/common.inc','inc/database.inc','inc/footer.inc','inc/header.inc', 'inc/print_tickets.inc','inc/show_admin_nav.inc','inc/show_search_form.inc','install.php','update.php', // pre-2.0 files 'admin.php','admin_change_status.php','admin_main.php','admin_move_category','admin_reply_ticket.php', 'admin_settings.php','admin_settings_save.php','admin_ticket.php','archive.php', 'delete_tickets.php','find_tickets.php','manage_canned.php','manage_categories.php', 'manage_users.php','profile.php','show_tickets.php', // pre-2.1 files 'emails/','language/english.php', // pre-2.3 files 'secimg.inc.php', // pre-2.4 files 'hesk_style_v23.css','help_files/','TreeMenu.js', // malicious files that were found on some websites illegally redistributing HESK 'inc/tiny_mce/utils/r00t10.php', 'language/en/help_files/r00t10.php', // pre-2.5 files 'hesk_style_v24.css', 'hesk_javascript_v24.js', // pre-2.6 files 'hesk_style_v25.css', 'hesk_javascript_v25.js', ); sort($old_files); $still_exist = array(); foreach ($old_files as $f) { if (file_exists(HESK_PATH . $f)) { $still_exist[] = $f; } } if ( count($still_exist) ) { $correct_these[] = ' Outdated files and folders

For security reasons please delete these legacy files and folders:
'; } // Do we have any errors? if ( count($correct_these) ) { hesk_iHeader(); ?>  

 

Summary

  • The script is provided "as is", without any warranty. Use at your own risk.
     
  • HESK is a registered trademark, using the term HESK requires permission.
     
  • Do not redistribute this script without express written permission
     
  • If you wish to remove the "Powered by" links a license is required.
1. License Agreement
The entire agreement:
HESK License Agreement
The "script" is all files included with the HESK distribution archive as well as all files produced as a result of the installation scripts. Klemen Stirn ("Author","HESK") is the author and copyrights owner of the script. The "Licensee" ("you") is the person downloading or using the Licensed version of script. "User" is any person using or viewing the script with their HTML browser. "Powered by" link is herein defined as an anchor link pointing to HESK website and/or script webpage, usually located at the bottom of the script and visible to users of the script without looking into source code. "Copyright headers" is a written copyright notice located in script source code and normally not visible to users. This License may be modified by the Author at any time. The new version of the License becomes valid when published on HESK website. You are encouraged to regularly check back for License updates. THIS SCRIPT IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KLEMEN STIRN BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SCRIPT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Using this code, in part or full, to create derivative work, new scripts or products is expressly forbidden. Obtain permission before redistributing this software over the Internet or in any other medium. REMOVING POWERED BY LINKS You are not allowed to remove or in any way edit the "Powered by" links in this script without purchasing a License. You can purchase a License at https://www.hesk.com/buy.php If you remove the Powered by links without purchasing a License and paying the licensee fee, you are in a direct violation of European Union and International copyright laws. Your License to use the scripts is immediately terminated and you must delete all copies of the entire program from your web server. Klemen Stirn may, at any time, terminate this License agreement if Klemen Stirn determines, that this License agreement has been breached. Under no circumstance is the removal of copyright headers from the script source code permitted. TRADEMARK POLICY HESK is a US and EU registered trademark of Klemen Stirn. Certain usages of the Trademark are fine and no specific permission from the author is needed: - there is no commercial intent behind the use - what you are referring to is in fact HESK. If someone is confused into thinking that what isn't HESK is in fact HESK, you are probably doing something wrong - there is no suggestion (through words or appearance) that your project is approved, sponsored, or affiliated with HESK or its related projects unless it actually has been approved by and is accountable to the author Permission from the author is necessary to use the HESK trademark under any circumstances other than those specifically permitted above. These include: - any commercial use - use on or in relation to a software product that includes or is built on top of a product supplied by author, if there is any commercial intent associated with that product - use in a domain name or URL - use for merchandising purposes, e.g. on t-shirts and the like - use of a name which includes the letters HESK in relation to computer hardware or software. - services relating to any of the above If you wish to have permission for any of the uses above or for any other use which is not specifically referred to in this policy, please contact me and I'll let you know as soon as possible if your proposed use is permissible. Note that due to the volume of mail I receive, it may take some time to process your request. Permission may only be granted subject to certain conditions and these may include the requirement that you enter into an agreement with me to maintain the quality of the product and/or service which you intend to supply at a prescribed level. While there may be exceptions, it is very unlikely that I will approve Trademark use in the following cases: - use of a Trademark in a company name - use of a Trademark in a domain name which has a commercial intent. The commercial intent can range from promotion of a company or product, to collecting revenue generated by advertising - the calling of any software or product by the name HESK (or another related Trademark), unless that software or product is a substantially unmodified HESK product - use in combination with any other marks or logos. This include use of a Trademark in a manner that creates a "combined mark," or use that integrates other wording with the Trademark in a way that the public may think of the use as a new mark (for example Club HESK or HESKBooks, or in a way that by use of special fonts or presentation with nearby words or images conveys an impression that the two are tied in some way) - use in combination with any product or service which is presented as being Certified or Official or formally associated with me or my products or services - use in a way which implies an endorsement where that doesn't exist, or which attempts to unfairly or confusingly capitalise on the goodwill or brand of the project - use of a Trademark in a manner that disparages HESK and is not clearly third-party parody - on or in relation to a software product which constitutes a substantially modified version of a product supplied by HESK.com, that is to say with material changes to the code, or services relating to such a product - in a title or metatag of a web page whose sole intention or result is to influence search engine rankings or result listings, rather than for discussion, development or advocacy of the Trademarks OTHER This License Agreement is governed by the laws of Slovenia, European Union. Both the Licensee and Klemen Stirn submit to the jurisdiction of the courts of Slovenia, European Union. Both the Licensee and Klemen Stirn agree to commence any litigation that may arise hereunder in the courts located in Slovenia. If any provision hereof shall be held illegal, invalid or unenforceable, in whole or in part, such provision shall be modified to the minimum extent necessary to make it legal, valid and enforceable, and the legality, validity and enforceability of all other provisions of this Agreement shall not be affected thereby. No delay or failure by either party to exercise or enforce at any time any right or provision hereof shall be considered a waiver thereof or of such party's right thereafter to exercise or enforce each and every right and provision of this Agreement.


Cancel

By clicking continue, you agree to the license agreement and all the terms incorporated therein.

 

'1. License agreement', 2 => '2. Check setup', 3 => '3. Database settings', 4 => '4. Setup database tables' ); ?> HESK <?php echo HESK_NEW_VERSION; ?> Setup
HESK Setup

Note: Read installation guide before using this setup script!
'; } } // End hesk_iHeader() function hesk_iFooter() { global $hesk_settings; ?>

 
Powered by Help Desk Software HESK, brought to you by SysAid


Error: PHP sessions not working!

Note that this is a server configuration issue, not a HESK issue.

Please contact your hosting company and ask them to verify why PHP sessions aren't working on your server!

$sub_v) { $v[$k] = hesk_compareVariable($sub_k,$sub_v); } } if (isset($hesk_settings[$k])) { return $hesk_settings[$k]; } else { return $v; } } // END hesk_compareVariable() function is__writable($path) { //will work in despite of Windows ACLs bug //NOTE: use a trailing slash for folders!!! //see http://bugs.php.net/bug.php?id=27609 //see http://bugs.php.net/bug.php?id=30931 if ($path{strlen($path)-1}=='/') // recursively return a temporary file path return is__writable($path.uniqid(mt_rand()).'.tmp'); else if (is_dir($path)) return is__writable($path.'/'.uniqid(mt_rand()).'.tmp'); // check tmp file for read/write capabilities $rm = file_exists($path); $f = @fopen($path, 'a'); if ($f===false) return false; fclose($f); if (!$rm) unlink($path); return true; } // END is__writable()