Bootswatch, Summernote, and Captcheck mods for Mods for HESK (mods-for-hesk.com). In use at support.netsyms.com.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install_functions.inc.php 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. /*******************************************************************************
  3. * Title: Help Desk Software HESK
  4. * Version: 2.6.8 from 10th August 2016
  5. * Author: Klemen Stirn
  6. * Website: https://www.hesk.com
  7. ********************************************************************************
  8. * COPYRIGHT AND TRADEMARK NOTICE
  9. * Copyright 2005-2015 Klemen Stirn. All Rights Reserved.
  10. * HESK is a registered trademark of Klemen Stirn.
  11. * The HESK may be used and modified free of charge by anyone
  12. * AS LONG AS COPYRIGHT NOTICES AND ALL THE COMMENTS REMAIN INTACT.
  13. * By using this code you agree to indemnify Klemen Stirn from any
  14. * liability that might arise from it's use.
  15. * Selling the code for this program, in part or full, without prior
  16. * written consent is expressly forbidden.
  17. * Using this code, in part or full, to create derivate work,
  18. * new scripts or products is expressly forbidden. Obtain permission
  19. * before redistributing this software over the Internet or in
  20. * any other medium. In all cases copyright and header must remain intact.
  21. * This Copyright is in full effect in any country that has International
  22. * Trade Agreements with the United States of America or
  23. * with the European Union.
  24. * Removing any of the copyright notices without purchasing a license
  25. * is expressly forbidden. To remove HESK copyright notice you must purchase
  26. * a license for this script. For more information on how to obtain
  27. * a license please visit the page below:
  28. * https://www.hesk.com/buy.php
  29. *******************************************************************************/
  30. /* Check if this is a valid include */
  31. if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
  32. // We will be installing this HESK version:
  33. define('HESK_NEW_VERSION','2.7.3');
  34. define('MODS_FOR_HESK_NEW_VERSION','3.0.5');
  35. define('REQUIRE_PHP_VERSION','5.3.0');
  36. define('REQUIRE_MYSQL_VERSION','5.0.7');
  37. // Other required files and settings
  38. define('INSTALL',1);
  39. define('HIDE_ONLINE',1);
  40. require(HESK_PATH . 'hesk_settings.inc.php');
  41. $hesk_settings['debug_mode'] = 1;
  42. $hesk_settings['language']='English';
  43. $hesk_settings['languages']=array('English' => array('folder'=>'en','hr'=>'------ Reply above this line ------'));
  44. error_reporting(E_ALL);
  45. require(HESK_PATH . 'inc/common.inc.php');
  46. require(HESK_PATH . 'inc/admin_functions.inc.php');
  47. require(HESK_PATH . 'inc/setup_functions.inc.php');
  48. hesk_load_database_functions();
  49. // Start the session
  50. hesk_session_start();