Commit 9e1cf05c3b4222410417634ca1ff26c58a0dc40a
1 parent
c12dcc60
Merge Work/Home
Commited By: Jarrett Jordaan Reviewed By: Megan Watson
Showing
22 changed files
with
388 additions
and
336 deletions
lib/templating/smartytemplate.inc.php
| ... | ... | @@ -48,9 +48,9 @@ class KTSmartyTemplate extends KTTemplate { |
| 48 | 48 | |
| 49 | 49 | function render($aDict = null) { |
| 50 | 50 | $smarty = new Smarty; |
| 51 | - $smarty->compile_dir = "/tmp"; | |
| 52 | 51 | $oConfig =& KTConfig::getSingleton(); |
| 53 | 52 | $sVarDirectory = $oConfig->get('urls/varDirectory'); |
| 53 | + $smarty->compile_dir = $oConfig->get('urls/tmpDirectory'); | |
| 54 | 54 | |
| 55 | 55 | foreach (array($sVarDirectory . '/tmp', '/tmp') as $sPath) { |
| 56 | 56 | if (is_writeable($sPath)) { | ... | ... |
setup/migrate/templates/error.tpl
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | <html> |
| 3 | 3 | <head> |
| 4 | 4 | <title>KnowledgeTree Installer</title> |
| 5 | - <script type="text/javascript" src="resources/jquery-tooltip/lib/jquery.js"></script> | |
| 5 | + <script type="text/javascript" src="resources/jquery.js"></script> | |
| 6 | 6 | <script type="text/javascript" src="resources/wizard.js" ></script> |
| 7 | 7 | <link rel="stylesheet" type="text/css" href="resources/wizard.css" /> |
| 8 | 8 | ... | ... |
setup/wizard/config/databases.xml
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | <dport>3306</dport> |
| 16 | 16 | <dname>dms</dname> |
| 17 | 17 | <duname>root</duname> |
| 18 | - <dmsadminuser>dmsuser</dmsadminuser> | |
| 18 | + <dmsadminuser>dmsadminuser</dmsadminuser> | |
| 19 | 19 | <dmsaupass>js9281djw</dmsaupass> |
| 20 | 20 | <dmsuser>dmsuser</dmsuser> |
| 21 | 21 | <dmsupass>djw9281js</dmsupass> | ... | ... |
setup/wizard/installWizard.php
| ... | ... | @@ -58,6 +58,9 @@ function __autoload($class) { // Attempt and autoload classes |
| 58 | 58 | } elseif (file_exists(SERVICE_LIB."$class.php")) { |
| 59 | 59 | require_once(SERVICE_LIB."$class.php"); |
| 60 | 60 | } else { |
| 61 | + if(preg_match('/Helper/', $class)) { | |
| 62 | + require_once(HELPER_DIR."$class.php"); | |
| 63 | + } | |
| 61 | 64 | return null; |
| 62 | 65 | } |
| 63 | 66 | } | ... | ... |
setup/wizard/htmlHelper.php renamed to setup/wizard/lib/helpers/htmlHelper.php
setup/wizard/lib/helpers/config-path-mock renamed to setup/wizard/lib/system/config-path-mock
| ... | ... | @@ -5,4 +5,5 @@ |
| 5 | 5 | /var/lib/knowledgetree/Documents |
| 6 | 6 | /var/lib/knowledgetree/indexes |
| 7 | 7 | /var/lib/knowledgetree/proxies |
| 8 | -/var/lib/knowledgetree/uploads | |
| 9 | 8 | \ No newline at end of file |
| 9 | +/var/lib/knowledgetree/uploads | |
| 10 | +/var/lib/knowledgetree/cache | |
| 10 | 11 | \ No newline at end of file | ... | ... |
setup/wizard/lib/helpers/config-path-mock-windows renamed to setup/wizard/lib/system/config-path-mock-windows
setup/wizard/lib/helpers/demo.sh renamed to setup/wizard/lib/system/demo.sh
setup/wizard/lib/helpers/javaVersion.class renamed to setup/wizard/lib/system/javaVersion.class
No preview for this file type
setup/wizard/lib/helpers/javaVersion.java renamed to setup/wizard/lib/system/javaVersion.java
setup/wizard/lib/helpers/phpinfo.php renamed to setup/wizard/lib/system/phpinfo.php
setup/wizard/lib/helpers/systemCheck.php renamed to setup/wizard/lib/system/systemCheck.php
setup/wizard/path.php
| ... | ... | @@ -76,6 +76,7 @@ |
| 76 | 76 | define('STEP_DIR', WIZARD_DIR."steps".DS); |
| 77 | 77 | define('TEMP_DIR', WIZARD_DIR."templates".DS); |
| 78 | 78 | define('SHELL_DIR', WIZARD_DIR."shells".DS); |
| 79 | + define('SYS_DIR', WIZARD_LIB."system".DS); | |
| 79 | 80 | define('HELPER_DIR', WIZARD_LIB."helpers".DS); |
| 80 | 81 | // Define paths to system webroot |
| 81 | 82 | define('SYSTEM_DIR', $sys); | ... | ... |
setup/wizard/resources/js/form.js
| ... | ... | @@ -9,4 +9,8 @@ $(document).ready(function() { |
| 9 | 9 | var options = {target: '#content_container', beforeSubmit: w.validateRegistration, success: w.adjustMenu($('form').attr('id'))}; |
| 10 | 10 | $('form').ajaxForm(options); |
| 11 | 11 | } |
| 12 | + $(document).bind('keydown', 'Ctrl+n',function (evt){alert("n"); return false; }); | |
| 13 | + $(document).bind('keydown', 'Ctrl+p',function (evt){alert("p"); return false; }); | |
| 14 | + $(document).bind('keydown', 'Ctrl+e',function (evt){alert("e"); return false; }); | |
| 15 | + $(document).bind('keydown', 'Ctrl+i',function (evt){alert("i"); return false; }); | |
| 12 | 16 | }); |
| 13 | 17 | \ No newline at end of file | ... | ... |
setup/wizard/resources/license/license.txt
0 → 100644
| 1 | +<p> | |
| 2 | +License Agreement Version 2.3 | |
| 3 | +</p> | |
| 4 | +<p> | |
| 5 | +PLEASE READ THIS DOCUMENT CAREFULLY BEFORE INSTALLING THE SOFTWARE. BY INSTALLING AND USING THE SOFTWARE, YOU AGREE ON BEHALF | |
| 6 | +OF THE ENTITY LICENSING THE SOFTWARE AND WHO IS BECOMING A PARTY TO THIS LICENSE AGREEMENT ("THE COMPANY") TO BE BOUND BY THE TERMS OF | |
| 7 | +THIS AGREEMENT AND THAT YOU HAVE THE NECESSARY AUTHORITY TO BIND THE COMPANY TO THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS OF | |
| 8 | +THE AGREEMENT, DO NOT INSTALL OR USE THE SOFTWARE. | |
| 9 | +</p> | |
| 10 | +<p> | |
| 11 | +This is an agreement entered into by and between you (the "Company") and KnowledgeTree and | |
| 12 | +its subsidiaries ("KT"). This Agreement states the terms and conditions upon which KT offers to | |
| 13 | +license the KnowledgeTree Commercial Editions software provided in this package together with all | |
| 14 | +related documentation and accompanying items including, but not limited to, the executable programs, | |
| 15 | +drivers, libraries and data files associated with such programs (collectively, the "Software"). | |
| 16 | +</p> | |
| 17 | +<p> | |
| 18 | +<h3>DEFINITIONS</h3> | |
| 19 | +Accessible Code means source code contained within the Software that is accessible under this | |
| 20 | +Agreement. | |
| 21 | +</p> | |
| 22 | +<p> | |
| 23 | +Affiliate means a company which is controlled, under common control or controlling the Company | |
| 24 | +during the period of such control. For the purposes of this Agreement, "control" shall mean ownership, | |
| 25 | +directly or indirectly, of more than 50% of the shares in the Company (or other voting securities) which | |
| 26 | +vote for the election of the board of directors or other managing body of the Company. | |
| 27 | +</p> | |
| 28 | +<p> | |
| 29 | +End User means an employee, contractor or agent of the Company and its Affiliates authorized by the | |
| 30 | +Company to use the Software as per the terms of this Agreement. | |
| 31 | +</p> | |
| 32 | +<p> | |
| 33 | +OEM Distribution means distribution of the Software as either a bundled add-on to, or embedded | |
| 34 | +component of, another application with such application being made available to its users as, but not | |
| 35 | +limited to, an on-premise application, a hosted application, a Software-as-a-Service offering or a | |
| 36 | +subscription service for which the distributor of the application receives a license fee or any form of | |
| 37 | +direct or indirect compensation. | |
| 38 | +</p> | |
| 39 | +<p> | |
| 40 | +Protected Code means source code contained within the Software that is protected against access by | |
| 41 | +KT and is not accessible under this Agreement. | |
| 42 | +</p> | |
| 43 | +<p> | |
| 44 | +Distribution Archive means a software installer package or any other distribution medium commonly | |
| 45 | +utilized to package and distribute software. | |
| 46 | +</p> | |
| 47 | +<p> | |
| 48 | +Customer Service Systems means any online system provided by KT or its service providers to provide | |
| 49 | +Company with product support, access to the Software, or user licenses, though not limited to these | |
| 50 | +services. | |
| 51 | +</p> | |
| 52 | +<p> | |
| 53 | +Unlimited Use License means a grant of license under this agreement that is not limited to a set | |
| 54 | +number of End Users, but is limited to one physical server device that the Software may be run on. | |
| 55 | +Grant of Rights | |
| 56 | +</p> | |
| 57 | +<p> | |
| 58 | +For the term of this Agreement and subject to the Company's payment of the license fees as defined | |
| 59 | +below KT grants the Company a non-exclusive, non-transferable, non-sublicensable right to use and | |
| 60 | +modify the Software only for the Company's own internal use and limited to the number of End Users | |
| 61 | +for which the Company has paid the applicable license fee. | |
| 62 | +</p> | |
| 63 | +<p> | |
| 64 | +<h3>Company's responsibility for End Users</h3> | |
| 65 | +The Company shall be responsible for any act or omission of all End Users and for their compliance | |
| 66 | +with all of the terms of this Agreement. Any action or breach by any of the Company's employees, | |
| 67 | +contractors, agents or Affiliates shall be deemed an action or breach by the Company of this | |
| 68 | +Agreement and the Company hereby indemnifies and holds KT harmless from any and all such | |
| 69 | +breaches of this Agreement. The Company waives all of those defenses that the Company may have in | |
| 70 | +law or otherwise which may be raised to avoid liability should the Company not be liable for its | |
| 71 | +employees, contractors', agents' or Affiliates' acts, omissions and non-compliance with the terms of this | |
| 72 | +Agreement. | |
| 73 | +</p> | |
| 74 | +<p> | |
| 75 | +<h3>Delivery and acceptance of the Software</h3> | |
| 76 | +The Software shall be deemed accepted once the Company has successfully downloaded and unpacked | |
| 77 | +the Distribution Archive. | |
| 78 | +</p> | |
| 79 | +<p> | |
| 80 | +<h3>Restrictions</h3> | |
| 81 | +The Company shall not, directly or indirectly: (i) remove or alter any copyright, trademark or | |
| 82 | +proprietary notice in the Software; (ii) transfer, use or export the Software in violation of any laws or | |
| 83 | +regulations of any government or governmental agency; (iii) reverse engineer, decompile or modify | |
| 84 | +any protected code which forms part of the Software; (iv) distribute the Software via OEM Distribution | |
| 85 | +without entering into a separate OEM Distribution Agreement with KT; (v) redistribute the Accessible | |
| 86 | +or Protected Code; (vi) use and or modify the Software to develop a competitive product; and (vii) | |
| 87 | +commit any act or omission the likely result of which is that KT's reputation will be brought into | |
| 88 | +disrepute or which act or omission could reasonably be expected to have or does have a material and | |
| 89 | +adverse effect on KT's interests. | |
| 90 | +</p> | |
| 91 | +<p> | |
| 92 | +The Software includes license protection mechanisms that are designed to manage and protect the | |
| 93 | +intellectual property rights of KT. The Company must not modify or alter those features to try to defeat | |
| 94 | +the Software use rules that the license protection mechanisms are designed to enforce. | |
| 95 | +Notwithstanding anything to the contrary in this Agreement, during the period of this Agreement the | |
| 96 | +Company may continue to use the Software initially provided under this Agreement with the source | |
| 97 | +code and license key and use differing databases, web servers or operating systems than the database, | |
| 98 | +web server or operating system initially selected by the Company on installation of the Software at no | |
| 99 | +charge. | |
| 100 | +</p> | |
| 101 | +<p> | |
| 102 | +<h3>Proprietary Rights</h3> | |
| 103 | +KT and its licensors shall own all right, title, and interest to the Software, technology, information, | |
| 104 | +code or software provided to Company, including all portions, copies or modifications thereof. Except | |
| 105 | +as expressly provided herein, no licenses of any kind are granted hereunder, whether by implication, | |
| 106 | +estoppel, or otherwise. | |
| 107 | +</p> | |
| 108 | +<p> | |
| 109 | +<h3>Fees and Payment</h3> | |
| 110 | +End User Accounts: The Company shall designate an Administrator and notify KT of the identity and | |
| 111 | +contact information for said Administrator. The Administrator may add End Users to the Company's | |
| 112 | +subscription for the Software by placing an order with KT. The Company is responsible for all activity | |
| 113 | +occurring under the Company's End User's accounts. The Company shall notify KT immediately of any | |
| 114 | +unauthorized use of any password or account that provides Company access to the Customer Service | |
| 115 | +Systems, or unauthorized copying or distribution of the Software or related proprietary material. End | |
| 116 | +User accounts cannot be shared or used by more than one individual End User but may be reassigned to | |
| 117 | +new End Users replacing former End Users. | |
| 118 | +</p> | |
| 119 | +<p> | |
| 120 | +License fee: The Company shall pay to KT an amount specified on the KnowledgeTree website for the | |
| 121 | +number of End Users that Company selects. Payment of the license fee shall be due and payable as set | |
| 122 | +forth in the terms and conditions on the KnowledgeTree website. All fees paid to KT are non- | |
| 123 | +refundable. The Company will also pay all applicable taxes, including sales, use, personal property, | |
| 124 | +value-added, excise, customs fees, import duties, stamp duties and any other similar taxes and duties, | |
| 125 | +including penalties and interest, imposed by any federal, state, provincial or other government entity on | |
| 126 | +the transactions contemplated by this Agreement. | |
| 127 | +</p> | |
| 128 | +<p> | |
| 129 | +Records Retention: Unless the company has purchased an Unlimited Use License, the Company shall | |
| 130 | +maintain accurate records necessary to verify the number of End Users. Upon KT's written request, the | |
| 131 | +Company shall provide KT with such records within ten (10) days. If the Company has more End | |
| 132 | +Users than the Company has paid for, the Company shall immediately pay KT an additional license fee | |
| 133 | +in addition to any costs incurred by KT associated with reviewing such records. | |
| 134 | +</p> | |
| 135 | +<p> | |
| 136 | +<h3>COPYRIGHT</h3> | |
| 137 | +KT reserves all rights not expressly granted to you in this EULA. The Software is protected by | |
| 138 | +copyright and other intellectual property laws and treaties. KT and/or its licensors own the title, | |
| 139 | +copyright, and other intellectual property rights in the Software. The Software is licensed, not sold. The | |
| 140 | +Company may not remove the copyright notice from any copy of the Software or any copy of the | |
| 141 | +written materials, if any, accompanying the Software. | |
| 142 | +</p> | |
| 143 | +<p> | |
| 144 | +<h3>MERGER OR INTEGRATION</h3> | |
| 145 | +Should the Company merge any portion of the Software or accessible code into, or integrate any | |
| 146 | +portion of the Software or accessible code with, any other program or code, any portion of the Software | |
| 147 | +or accessible code merged into or integrated with another program, if any, will continue to be subject to | |
| 148 | +the terms and conditions of this Agreement, and the Company must reproduce on the merged or | |
| 149 | +integrated portion all copyright and other proprietary rights notices included in the originals of the | |
| 150 | +Software or accessible code. | |
| 151 | +</p> | |
| 152 | +<p> | |
| 153 | +<h3>TRANSFER OF LICENSE</h3> | |
| 154 | +The Company may not transfer its license in terms of this Agreement to any external third parties. | |
| 155 | +</p> | |
| 156 | +<p> | |
| 157 | +<h3>LIMITATIONS ON USING, COPYING, AND MODIFYING THE SOFTWARE</h3> | |
| 158 | +Except to the extent expressly permitted by this Agreement or by the laws of the jurisdiction where the | |
| 159 | +Company acquired the Software, it may not use, copy or modify the Software. Nor may the Company | |
| 160 | +sub-license any of its rights under this Agreement. | |
| 161 | +</p> | |
| 162 | +<p> | |
| 163 | +<h3>DECOMPILING, DISASSEMBLING, OR REVERSE ENGINEERING</h3> | |
| 164 | +The Company acknowledges that the Software contains trade secrets and other proprietary information | |
| 165 | +of KT and its licensors. Except to the extent expressly permitted by this Agreement or by the laws of | |
| 166 | +the jurisdiction where the Company is located, it may not decompile, disassemble or otherwise reverse | |
| 167 | +engineer the Software, or engage in any other activities to obtain underlying information that is not | |
| 168 | +visible to the user in connection with the normal use of the Software. | |
| 169 | +</p> | |
| 170 | +<p> | |
| 171 | +In particular, the Company agrees not for any purpose to transmit the Software or display the | |
| 172 | +Software's object code on any computer screen or to make any hardcopy memory dumps of the | |
| 173 | +Software's object code. If the Company believes that it requires information related to the | |
| 174 | +interoperability of the Software with other programs, it shall not decompile or disassemble the | |
| 175 | +Software to obtain such information, and it agrees to request such information from KT at the address | |
| 176 | +listed below. Upon receiving such a request, KT shall determine whether the Company requires such | |
| 177 | +information for a legitimate purpose and, if so, KT will provide such information to the Company | |
| 178 | +within a reasonable time and on reasonable conditions. | |
| 179 | +</p> | |
| 180 | +<p> | |
| 181 | +In any event, the Company will notify KT of any information derived from reverse engineering or such | |
| 182 | +other activities, and the results thereof will constitute the confidential information of KT that may be | |
| 183 | +used only in connection with the Software. | |
| 184 | +</p> | |
| 185 | +<p> | |
| 186 | +<h3>DURATION AND TERMINATION</h3> | |
| 187 | +The license granted to the Company is effective for 1 (ONE) year. The license will also terminate | |
| 188 | +automatically without any notice from KT if the Company fails to comply with any term or condition | |
| 189 | +of this Agreement. Upon termination, KT may also enforce any rights provided by law. The provisions | |
| 190 | +of this Agreement that protect the proprietary rights of KT will continue in force after termination. | |
| 191 | +</p> | |
| 192 | +<p> | |
| 193 | +<h3>SOFTWARE MAINTENANCE</h3> | |
| 194 | +Software Maintenance includes KT's provisioning to the Company of updates and/or enhancements of | |
| 195 | +the Software made generally available to customers from time to time, and online technical support | |
| 196 | +(and where applicable, phone support) to one Company-designated technical contact for the sole | |
| 197 | +purpose of addressing technical issues relating to the use of the Software (excluding any form of on- | |
| 198 | +site visits by KT personnel or contractors). | |
| 199 | +</p> | |
| 200 | +<p> | |
| 201 | +<h3>DISCLAIMER OF ANY WARRANTY</h3> | |
| 202 | +KT does not warrant that the functions contained in the Software will meet the Company's | |
| 203 | +requirements or that the operation of the Software will be correct, uninterrupted or error-free. KT | |
| 204 | +provides evaluation copies of the Product so that customers can assess the Product. | |
| 205 | +</p> | |
| 206 | +<p> | |
| 207 | +THE SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND, EITHER | |
| 208 | +EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES | |
| 209 | +OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, TITLE OR | |
| 210 | +NONINFRINGEMENT. | |
| 211 | +</p> | |
| 212 | +<p> | |
| 213 | +The Company assumes responsibility for the support and fault-finding of any modifications made to | |
| 214 | +the Software, or merger and integration undertaken with or between any other program or code. | |
| 215 | +The Company assumes full responsibility for the selection of the Software to achieve its intended | |
| 216 | +results, and for the installation, use and results obtained from the Software. The Company also assumes | |
| 217 | +the entire risk as it applies to the quality and performance of the Software. Should the Software prove | |
| 218 | +defective, the Company (and not KT, or its distributors or dealers) assumes the entire cost of any and | |
| 219 | +all necessary servicing, repair or correction. | |
| 220 | +</p> | |
| 221 | +<p> | |
| 222 | +Some countries/states do not allow the exclusion of implied warranties, so the above exclusion may not | |
| 223 | +apply to the Company. KT disclaims all warranties of any kind if the Software was customized, | |
| 224 | +repackaged or altered in any way by any third party other than KT. | |
| 225 | +</p> | |
| 226 | +<p> | |
| 227 | +<h3>INFRINGEMENT</h3> | |
| 228 | +During any term of this Agreement, if any portion of the Software is held by a court of competent | |
| 229 | +jurisdiction to infringe any third party intellectual property rights and the Company incurs a liability or | |
| 230 | +expense as a result of such holding, then the Company's sole remedy shall be, and KT will, at its | |
| 231 | +option: (i) obtain the right for the Company to continue to use the Software consistent with this | |
| 232 | +Agreement; (ii) modify the Software so that it is non-infringing; or (iii) replace the infringing | |
| 233 | +component with a non-infringing component, or (iv) refund all money paid in the then-current calendar | |
| 234 | +quarter under this Agreement and all of the Company's rights and licenses under this Agreement shall | |
| 235 | +automatically terminate. | |
| 236 | +</p> | |
| 237 | +<p> | |
| 238 | +<h3>PUBLICITY RIGHTS</h3> | |
| 239 | +<ol> | |
| 240 | +<li>a. The Company grants KT the right to include the Company as a customer in promotional | |
| 241 | +material for the Software or for KT.</li> | |
| 242 | +<li>b. The Company can deny KT this right by submitting a written request via e-mail to | |
| 243 | +marketing@knowledgetree.com requesting to be excluded from such promotional material. | |
| 244 | +Confirmation of such denial (via reply e-mail) must be received prior to purchasing for this to | |
| 245 | +be effective.</li> | |
| 246 | +<li>c. Should the Company come to be or already be included in promotional material, as a result of | |
| 247 | +any prior purchases where the Company did not request exclusion from the promotional | |
| 248 | +material, the Company can at any point, submit a written request via e-mail to | |
| 249 | +marketing@knowledgetree.com to have KT remove the Company's name from the | |
| 250 | +promotional material. Upon receipt of such request, KT will remove any reference to the | |
| 251 | +Company from such promotional material within 30 days and make no further reference to the | |
| 252 | +Company.</li> | |
| 253 | +</ol> | |
| 254 | +</p> | |
| 255 | +<p> | |
| 256 | +During any term of this Agreement, the Company grants to KT a non-transferable, non-exclusive, | |
| 257 | +license to reproduce and display its logos, trademarks, trade names and similar identifying material so | |
| 258 | +that KT may refer to the Company as a user of the Software should KT so desire, such as on the KT | |
| 259 | +website, in press releases and in other marketing materials. | |
| 260 | +</p> | |
| 261 | +<p> | |
| 262 | +<h3>INDEMNIFICATION</h3> | |
| 263 | +If the Company distributes the Software in violation of this Agreement, it hereby indemnifies, hold | |
| 264 | +harmless and defends KT from and against any and all claims or lawsuits, including attorney's fees and | |
| 265 | +costs that arise, result from or are connected with the use or distribution of the Software in violation of | |
| 266 | +this Agreement. | |
| 267 | +</p> | |
| 268 | +<p> | |
| 269 | +<h3>LIMITATION OF REMEDIES AND DAMAGES</h3> | |
| 270 | +In no event will KT or its licensors be liable for any indirect, incidental, special or consequential | |
| 271 | +damages, or for any personal injury or bodily injury (including death) to any persons caused by KT's | |
| 272 | +negligence, or for any lost profits, lost savings, loss of use, lost revenues or lost data arising from or | |
| 273 | +relating to the Software or this Agreement, even if KT or its licensors have been advised of the | |
| 274 | +possibility of such damages. In no event will KT's liability or damages to the Company or any other | |
| 275 | +person ever exceed the amount paid by the Company to use the Software, regardless of the form of the | |
| 276 | +claim. | |
| 277 | +</p> | |
| 278 | +<p> | |
| 279 | +Some countries/states do not allow the limitation or exclusion of liability for incidental or | |
| 280 | +consequential damages, so the above limitation or exclusion may not apply to the Company. | |
| 281 | +</p> | |
| 282 | +<p> | |
| 283 | +<h3>GOVERNMENT RESTRICTED RIGHTS</h3> | |
| 284 | +Programs delivered to the U.S. Defense Dept. are delivered with Restricted Rights and the following | |
| 285 | +applies: "Restricted Rights Legend: Use, duplication or disclosure by Government is subject to | |
| 286 | +restrictions as currently set forth in subparagraph (c)(1)(ii) of DFARS 252-227-7013, Rights in | |
| 287 | +Technical Data and Computer Software (October 1988). Software manufacturer is KnowledgeTree | |
| 288 | +Inc., c/o DLA Piper US LLP, 2000 University Avenue, East Palo Alto, CA 94303. Programs delivered | |
| 289 | +to a U.S. Government Agency not within the Defense, Dept. are delivered with "Restricted Rights" as | |
| 290 | +defined in FAR 52.227-14, Rights in Data - General, including Alternate III (June 1987). | |
| 291 | +</p> | |
| 292 | +<p> | |
| 293 | +<h3>CONTRACTOR/MANUFACTURER</h3> | |
| 294 | +The Contractor/Manufacturer for the Software is: | |
| 295 | +KnowledgeTree | |
| 296 | +c/o DLA Piper US LLP | |
| 297 | +2000 University Avenue | |
| 298 | +East Palo Alto, CA 94303 | |
| 299 | +Phone: +1 415.200.0225 | |
| 300 | +</p> | |
| 301 | +<p> | |
| 302 | +<h3>GENERAL</h3> | |
| 303 | +This Agreement is binding on the Company as well as its employees, employers, contractors and | |
| 304 | +agents, and on any successors and assignees. Neither the Software nor any information derived | |
| 305 | +therefrom may be exported except in accordance with the laws of the State of Delaware or other | |
| 306 | +applicable provisions. This Agreement is governed by the laws of the State of Delaware. This | |
| 307 | +Agreement is the entire agreement between KT and the Company and the Company agrees that KT will | |
| 308 | +not have any liability for any untrue statement or representation made by it, its agents or anyone else | |
| 309 | +(whether innocently or negligently) upon which the Company relied upon entering this Agreement, | |
| 310 | +unless such untrue statement or representation was made fraudulently. This Agreement supersedes any | |
| 311 | +other understandings or agreements, including, but not limited to, advertising, with respect to the | |
| 312 | +Software. If any provision of this Agreement is deemed invalid or unenforceable by any country or | |
| 313 | +government agency having jurisdiction, that particular provision will be deemed modified to the extent | |
| 314 | +necessary to make the provision valid and enforceable, and the remaining provisions will remain in full | |
| 315 | +force and effect. The original of this Agreement has been written in English, and that version will | |
| 316 | +govern. | |
| 317 | +</p> | |
| 0 | 318 | \ No newline at end of file | ... | ... |
setup/wizard/steps/complete.php
| ... | ... | @@ -152,23 +152,17 @@ class complete extends Step { |
| 152 | 152 | $this->temp_variables['dbConnectUser'] = ''; |
| 153 | 153 | $this->temp_variables['dbPrivileges'] = ''; |
| 154 | 154 | $this->temp_variables['dbTransaction'] = ''; |
| 155 | - | |
| 156 | 155 | $html = '<td><div class="%s"></div></td>' |
| 157 | 156 | . '<td %s>%s</td>'; |
| 158 | - | |
| 159 | 157 | // retrieve database information from session |
| 160 | 158 | $dbconf = $this->getDataFromSession("database"); |
| 161 | - //print_r($dbconf); | |
| 162 | 159 | // make db connection - admin |
| 163 | 160 | $loaded = $this->_dbhandler->load($dbconf['dhost'], $dbconf['dmsname'], $dbconf['dmspassword'], $dbconf['dname']); |
| 164 | 161 | if (!$loaded) { |
| 165 | - $this->temp_variables['dbConnectAdmin'] .= /*sprintf($html, 'cross', | |
| 166 | - $path['path'], | |
| 167 | - (($result['class'] == 'tick') ? '' : 'error' ), | |
| 168 | - (($result['class'] == 'tick') ? 'Writeable' : 'Not Writeable' ));*/ | |
| 169 | - '<td><div class="cross"></div></td>' | |
| 170 | - . '<td class="error">Unable to connect to database (user: ' . $dbconf['dmsname'] . ')</td>'; | |
| 171 | - $this->database_check = 'cross'; | |
| 162 | + $this->temp_variables['dbConnectAdmin'] .= '<td><div class="cross"></div></td>' | |
| 163 | + . '<td class="error">Unable to connect to database (user: ' | |
| 164 | + . $dbconf['dmsname'] . ')</td>'; | |
| 165 | + $this->database_check = 'cross'; | |
| 172 | 166 | $this->temp_variables['dbConnectAdmin'] .= sprintf($html, 'cross', 'class="error"', 'Unable to connect to database (user: ' . $dbconf['dmsname'] . ')'); |
| 173 | 167 | } |
| 174 | 168 | else | ... | ... |
setup/wizard/steps/configuration.php
| ... | ... | @@ -349,6 +349,7 @@ class configuration extends Step |
| 349 | 349 | $ini->write(); |
| 350 | 350 | } |
| 351 | 351 | $this->_dbhandler->close(); // close the database connection |
| 352 | + $this->writeCachePath(); // Write cache path file | |
| 352 | 353 | $this->writeConfigPath(); // Write config file |
| 353 | 354 | } |
| 354 | 355 | |
| ... | ... | @@ -512,6 +513,7 @@ class configuration extends Step |
| 512 | 513 | array('name' => 'Document Directory', 'setting' => 'documentRoot', 'path' => '${varDirectory}/Documents', 'create' => true), |
| 513 | 514 | array('name' => 'Log Directory', 'setting' => 'logDirectory', 'path' => '${varDirectory}/log', 'create' => true), |
| 514 | 515 | array('name' => 'Temporary Directory', 'setting' => 'tmpDirectory', 'path' => '${varDirectory}/tmp', 'create' => true), |
| 516 | + array('name' => 'Cache Directory', 'setting' => 'cacheDirectory', 'path' => '${varDirectory}/cache', 'create' => true), | |
| 515 | 517 | array('name' => 'Uploads Directory', 'setting' => 'uploadDirectory', 'path' => '${varDirectory}/uploads', 'create' => true), |
| 516 | 518 | array('name' => 'Configuration File', 'setting' => 'configFile', 'path' => '${fileSystemRoot}/config/config.ini', 'create' => false), |
| 517 | 519 | ); |
| ... | ... | @@ -531,6 +533,7 @@ class configuration extends Step |
| 531 | 533 | array('name' => 'Document Directory', 'setting' => 'documentRoot', 'path' => $_POST['documentRoot'], 'create' => true), |
| 532 | 534 | array('name' => 'Log Directory', 'setting' => 'logDirectory', 'path' => $_POST['logDirectory'], 'create' => true), |
| 533 | 535 | array('name' => 'Temporary Directory', 'setting' => 'tmpDirectory', 'path' => $_POST['tmpDirectory'], 'create' => true), |
| 536 | + array('name' => 'Cache Directory', 'setting' => 'cacheDirectory', 'path' => $_POST['cacheDirectory'], 'create' => true), | |
| 534 | 537 | array('name' => 'Uploads Directory', 'setting' => 'uploadDirectory', 'path' => $_POST['uploadDirectory'], 'create' => true), |
| 535 | 538 | array('name' => 'Configuration File', 'setting' => 'configFile', 'path' => $_POST['configFile'], 'create' => false, 'file'=>true), |
| 536 | 539 | ); |
| ... | ... | @@ -570,6 +573,12 @@ class configuration extends Step |
| 570 | 573 | $tmpPath = '${varDirectory}/tmp'; |
| 571 | 574 | } |
| 572 | 575 | $configs['tmpDirectory'] = array('name' => 'Temporary Directory', 'setting' => 'tmpDirectory', 'path' => $tmpPath, 'create' => true); |
| 576 | + if(isset($this->confpaths['cache'])) { | |
| 577 | + $cachePath = $this->confpaths['cache']; | |
| 578 | + } else { | |
| 579 | + $cachePath = '${varDirectory}/cache'; | |
| 580 | + } | |
| 581 | + $configs['cacheDirectory'] = array('name' => 'Cache Directory', 'setting' => 'cacheDirectory', 'path' => $cachePath, 'create' => true); | |
| 573 | 582 | if(isset($this->confpaths['uploads'])) { |
| 574 | 583 | $uploadsPath = $this->confpaths['uploads']; |
| 575 | 584 | } else { |
| ... | ... | @@ -664,7 +673,29 @@ class configuration extends Step |
| 664 | 673 | $fp = fopen($configPath, 'w'); |
| 665 | 674 | if(fwrite($fp, $configContent)) |
| 666 | 675 | return true; |
| 667 | - return true; | |
| 676 | + return false; | |
| 677 | + } | |
| 678 | + | |
| 679 | + private function writeCachePath() { | |
| 680 | + $cachePath = $this->getCachePath(); | |
| 681 | + if(!$cachePath) return false; | |
| 682 | + $configPath = $this->getContentPath(); | |
| 683 | + if(!$configPath) return false; | |
| 684 | + $ini = new Ini($configPath); | |
| 685 | + $data = $ini->getFileByLine(); | |
| 686 | + $cacheContent = ''; | |
| 687 | + foreach ($data as $k=>$v) { | |
| 688 | + if(preg_match('/cache/', $k)) { | |
| 689 | + $cacheContent = $k; | |
| 690 | + break; | |
| 691 | + } | |
| 692 | + } | |
| 693 | + $fp = fopen($cachePath, 'w'); | |
| 694 | + if($cacheContent != '') { | |
| 695 | + if(fwrite($fp, $cacheContent)) | |
| 696 | + return true; | |
| 697 | + } | |
| 698 | + return false; | |
| 668 | 699 | } |
| 669 | 700 | |
| 670 | 701 | /** |
| ... | ... | @@ -683,6 +714,14 @@ class configuration extends Step |
| 683 | 714 | return $configPath; |
| 684 | 715 | } |
| 685 | 716 | |
| 717 | + public function getCachePath() { | |
| 718 | + $cachePath = realpath('../../../config/cache-path'); | |
| 719 | + if($cachePath == '') | |
| 720 | + $cachePath = realpath('../../config/cache-path'); | |
| 721 | + if(!$cachePath) return false; | |
| 722 | + return $cachePath; | |
| 723 | + } | |
| 724 | + | |
| 686 | 725 | public function doReadConfig() { |
| 687 | 726 | |
| 688 | 727 | } | ... | ... |
setup/wizard/steps/license.php
setup/wizard/steps/services.php
| ... | ... | @@ -442,7 +442,9 @@ class services extends Step |
| 442 | 442 | $this->openOfficeInstalled(); |
| 443 | 443 | } |
| 444 | 444 | } |
| 445 | - $this->checkServiceStatus(); | |
| 445 | + if($this->checkServiceStatus()) { | |
| 446 | + $this->alreadyInstalled = true; | |
| 447 | + } | |
| 446 | 448 | $this->storeSilent(); // Store info needed for silent mode |
| 447 | 449 | if(!empty($errors)) |
| 448 | 450 | return false; |
| ... | ... | @@ -475,6 +477,7 @@ class services extends Step |
| 475 | 477 | */ |
| 476 | 478 | private function checkServiceStatus() { |
| 477 | 479 | $serverDetails = $this->getServices(); |
| 480 | + $allInstalled = true; | |
| 478 | 481 | foreach ($serverDetails as $serviceName) { |
| 479 | 482 | $className = OS.$serviceName; |
| 480 | 483 | $service = new $className(); |
| ... | ... | @@ -485,6 +488,7 @@ class services extends Step |
| 485 | 488 | $this->temp_variables['services'][] = array('class'=>'cross_orange', 'msg'=>$msg); |
| 486 | 489 | $this->serviceCheck = 'cross_orange'; |
| 487 | 490 | $this->warnings[] = $msg; |
| 491 | + $allInstalled = false; | |
| 488 | 492 | } else { |
| 489 | 493 | if(WINDOWS_OS) { |
| 490 | 494 | $this->temp_variables['services'][] = array('class'=>'tick', 'msg'=>$service->getName()." has been added as a Service"); } |
| ... | ... | @@ -493,6 +497,8 @@ class services extends Step |
| 493 | 497 | } |
| 494 | 498 | } |
| 495 | 499 | } |
| 500 | + | |
| 501 | + return $allInstalled; | |
| 496 | 502 | } |
| 497 | 503 | |
| 498 | 504 | /** |
| ... | ... | @@ -661,7 +667,7 @@ class services extends Step |
| 661 | 667 | $javaExecutable = $this->java; |
| 662 | 668 | } |
| 663 | 669 | if(WINDOWS_OS) { |
| 664 | - $cmd .= "\"$javaExecutable\" -cp \"".HELPER_DIR.";\" javaVersion \"".SYS_OUT_DIR."outJV\""." \"".SYS_OUT_DIR."outJVHome\""; | |
| 670 | + $cmd .= "\"$javaExecutable\" -cp \"".SYS_DIR.";\" javaVersion \"".SYS_OUT_DIR."outJV\""." \"".SYS_OUT_DIR."outJVHome\""; | |
| 665 | 671 | if($this->OS."ReadJVFromFile()") return true; |
| 666 | 672 | } else { |
| 667 | 673 | $cmd = "\"$javaExecutable\" -version > ".SYS_OUT_DIR."outJV 2>&1 echo $!"; | ... | ... |
setup/wizard/templates/license.tpl
| ... | ... | @@ -14,323 +14,7 @@ Please read and accept the license agreement below before continuing with the se |
| 14 | 14 | |
| 15 | 15 | <div class="license_agreement"> |
| 16 | 16 | <h2>KnowledgeTree On-premise Commercial End-User</h2> |
| 17 | -<p> | |
| 18 | -License Agreement Version 2.3 | |
| 19 | -</p> | |
| 20 | -<p> | |
| 21 | -PLEASE READ THIS DOCUMENT CAREFULLY BEFORE INSTALLING THE SOFTWARE. BY INSTALLING AND USING THE SOFTWARE, YOU AGREE ON BEHALF | |
| 22 | -OF THE ENTITY LICENSING THE SOFTWARE AND WHO IS BECOMING A PARTY TO THIS LICENSE AGREEMENT ("THE COMPANY") TO BE BOUND BY THE TERMS OF | |
| 23 | -THIS AGREEMENT AND THAT YOU HAVE THE NECESSARY AUTHORITY TO BIND THE COMPANY TO THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS OF | |
| 24 | -THE AGREEMENT, DO NOT INSTALL OR USE THE SOFTWARE. | |
| 25 | -</p> | |
| 26 | -<p> | |
| 27 | -This is an agreement entered into by and between you (the "Company") and KnowledgeTree and | |
| 28 | -its subsidiaries ("KT"). This Agreement states the terms and conditions upon which KT offers to | |
| 29 | -license the KnowledgeTree Commercial Editions software provided in this package together with all | |
| 30 | -related documentation and accompanying items including, but not limited to, the executable programs, | |
| 31 | -drivers, libraries and data files associated with such programs (collectively, the "Software"). | |
| 32 | -</p> | |
| 33 | -<p> | |
| 34 | -<h3>DEFINITIONS</h3> | |
| 35 | -Accessible Code means source code contained within the Software that is accessible under this | |
| 36 | -Agreement. | |
| 37 | -</p> | |
| 38 | -<p> | |
| 39 | -Affiliate means a company which is controlled, under common control or controlling the Company | |
| 40 | -during the period of such control. For the purposes of this Agreement, "control" shall mean ownership, | |
| 41 | -directly or indirectly, of more than 50% of the shares in the Company (or other voting securities) which | |
| 42 | -vote for the election of the board of directors or other managing body of the Company. | |
| 43 | -</p> | |
| 44 | -<p> | |
| 45 | -End User means an employee, contractor or agent of the Company and its Affiliates authorized by the | |
| 46 | -Company to use the Software as per the terms of this Agreement. | |
| 47 | -</p> | |
| 48 | -<p> | |
| 49 | -OEM Distribution means distribution of the Software as either a bundled add-on to, or embedded | |
| 50 | -component of, another application with such application being made available to its users as, but not | |
| 51 | -limited to, an on-premise application, a hosted application, a Software-as-a-Service offering or a | |
| 52 | -subscription service for which the distributor of the application receives a license fee or any form of | |
| 53 | -direct or indirect compensation. | |
| 54 | -</p> | |
| 55 | -<p> | |
| 56 | -Protected Code means source code contained within the Software that is protected against access by | |
| 57 | -KT and is not accessible under this Agreement. | |
| 58 | -</p> | |
| 59 | -<p> | |
| 60 | -Distribution Archive means a software installer package or any other distribution medium commonly | |
| 61 | -utilized to package and distribute software. | |
| 62 | -</p> | |
| 63 | -<p> | |
| 64 | -Customer Service Systems means any online system provided by KT or its service providers to provide | |
| 65 | -Company with product support, access to the Software, or user licenses, though not limited to these | |
| 66 | -services. | |
| 67 | -</p> | |
| 68 | -<p> | |
| 69 | -Unlimited Use License means a grant of license under this agreement that is not limited to a set | |
| 70 | -number of End Users, but is limited to one physical server device that the Software may be run on. | |
| 71 | -Grant of Rights | |
| 72 | -</p> | |
| 73 | -<p> | |
| 74 | -For the term of this Agreement and subject to the Company's payment of the license fees as defined | |
| 75 | -below KT grants the Company a non-exclusive, non-transferable, non-sublicensable right to use and | |
| 76 | -modify the Software only for the Company's own internal use and limited to the number of End Users | |
| 77 | -for which the Company has paid the applicable license fee. | |
| 78 | -</p> | |
| 79 | -<p> | |
| 80 | -<h3>Company's responsibility for End Users</h3> | |
| 81 | -The Company shall be responsible for any act or omission of all End Users and for their compliance | |
| 82 | -with all of the terms of this Agreement. Any action or breach by any of the Company's employees, | |
| 83 | -contractors, agents or Affiliates shall be deemed an action or breach by the Company of this | |
| 84 | -Agreement and the Company hereby indemnifies and holds KT harmless from any and all such | |
| 85 | -breaches of this Agreement. The Company waives all of those defenses that the Company may have in | |
| 86 | -law or otherwise which may be raised to avoid liability should the Company not be liable for its | |
| 87 | -employees, contractors', agents' or Affiliates' acts, omissions and non-compliance with the terms of this | |
| 88 | -Agreement. | |
| 89 | -</p> | |
| 90 | -<p> | |
| 91 | -<h3>Delivery and acceptance of the Software</h3> | |
| 92 | -The Software shall be deemed accepted once the Company has successfully downloaded and unpacked | |
| 93 | -the Distribution Archive. | |
| 94 | -</p> | |
| 95 | -<p> | |
| 96 | -<h3>Restrictions</h3> | |
| 97 | -The Company shall not, directly or indirectly: (i) remove or alter any copyright, trademark or | |
| 98 | -proprietary notice in the Software; (ii) transfer, use or export the Software in violation of any laws or | |
| 99 | -regulations of any government or governmental agency; (iii) reverse engineer, decompile or modify | |
| 100 | -any protected code which forms part of the Software; (iv) distribute the Software via OEM Distribution | |
| 101 | -without entering into a separate OEM Distribution Agreement with KT; (v) redistribute the Accessible | |
| 102 | -or Protected Code; (vi) use and or modify the Software to develop a competitive product; and (vii) | |
| 103 | -commit any act or omission the likely result of which is that KT's reputation will be brought into | |
| 104 | -disrepute or which act or omission could reasonably be expected to have or does have a material and | |
| 105 | -adverse effect on KT's interests. | |
| 106 | -</p> | |
| 107 | -<p> | |
| 108 | -The Software includes license protection mechanisms that are designed to manage and protect the | |
| 109 | -intellectual property rights of KT. The Company must not modify or alter those features to try to defeat | |
| 110 | -the Software use rules that the license protection mechanisms are designed to enforce. | |
| 111 | -Notwithstanding anything to the contrary in this Agreement, during the period of this Agreement the | |
| 112 | -Company may continue to use the Software initially provided under this Agreement with the source | |
| 113 | -code and license key and use differing databases, web servers or operating systems than the database, | |
| 114 | -web server or operating system initially selected by the Company on installation of the Software at no | |
| 115 | -charge. | |
| 116 | -</p> | |
| 117 | -<p> | |
| 118 | -<h3>Proprietary Rights</h3> | |
| 119 | -KT and its licensors shall own all right, title, and interest to the Software, technology, information, | |
| 120 | -code or software provided to Company, including all portions, copies or modifications thereof. Except | |
| 121 | -as expressly provided herein, no licenses of any kind are granted hereunder, whether by implication, | |
| 122 | -estoppel, or otherwise. | |
| 123 | -</p> | |
| 124 | -<p> | |
| 125 | -<h3>Fees and Payment</h3> | |
| 126 | -End User Accounts: The Company shall designate an Administrator and notify KT of the identity and | |
| 127 | -contact information for said Administrator. The Administrator may add End Users to the Company's | |
| 128 | -subscription for the Software by placing an order with KT. The Company is responsible for all activity | |
| 129 | -occurring under the Company's End User's accounts. The Company shall notify KT immediately of any | |
| 130 | -unauthorized use of any password or account that provides Company access to the Customer Service | |
| 131 | -Systems, or unauthorized copying or distribution of the Software or related proprietary material. End | |
| 132 | -User accounts cannot be shared or used by more than one individual End User but may be reassigned to | |
| 133 | -new End Users replacing former End Users. | |
| 134 | -</p> | |
| 135 | -<p> | |
| 136 | -License fee: The Company shall pay to KT an amount specified on the KnowledgeTree website for the | |
| 137 | -number of End Users that Company selects. Payment of the license fee shall be due and payable as set | |
| 138 | -forth in the terms and conditions on the KnowledgeTree website. All fees paid to KT are non- | |
| 139 | -refundable. The Company will also pay all applicable taxes, including sales, use, personal property, | |
| 140 | -value-added, excise, customs fees, import duties, stamp duties and any other similar taxes and duties, | |
| 141 | -including penalties and interest, imposed by any federal, state, provincial or other government entity on | |
| 142 | -the transactions contemplated by this Agreement. | |
| 143 | -</p> | |
| 144 | -<p> | |
| 145 | -Records Retention: Unless the company has purchased an Unlimited Use License, the Company shall | |
| 146 | -maintain accurate records necessary to verify the number of End Users. Upon KT's written request, the | |
| 147 | -Company shall provide KT with such records within ten (10) days. If the Company has more End | |
| 148 | -Users than the Company has paid for, the Company shall immediately pay KT an additional license fee | |
| 149 | -in addition to any costs incurred by KT associated with reviewing such records. | |
| 150 | -</p> | |
| 151 | -<p> | |
| 152 | -<h3>COPYRIGHT</h3> | |
| 153 | -KT reserves all rights not expressly granted to you in this EULA. The Software is protected by | |
| 154 | -copyright and other intellectual property laws and treaties. KT and/or its licensors own the title, | |
| 155 | -copyright, and other intellectual property rights in the Software. The Software is licensed, not sold. The | |
| 156 | -Company may not remove the copyright notice from any copy of the Software or any copy of the | |
| 157 | -written materials, if any, accompanying the Software. | |
| 158 | -</p> | |
| 159 | -<p> | |
| 160 | -<h3>MERGER OR INTEGRATION</h3> | |
| 161 | -Should the Company merge any portion of the Software or accessible code into, or integrate any | |
| 162 | -portion of the Software or accessible code with, any other program or code, any portion of the Software | |
| 163 | -or accessible code merged into or integrated with another program, if any, will continue to be subject to | |
| 164 | -the terms and conditions of this Agreement, and the Company must reproduce on the merged or | |
| 165 | -integrated portion all copyright and other proprietary rights notices included in the originals of the | |
| 166 | -Software or accessible code. | |
| 167 | -</p> | |
| 168 | -<p> | |
| 169 | -<h3>TRANSFER OF LICENSE</h3> | |
| 170 | -The Company may not transfer its license in terms of this Agreement to any external third parties. | |
| 171 | -</p> | |
| 172 | -<p> | |
| 173 | -<h3>LIMITATIONS ON USING, COPYING, AND MODIFYING THE SOFTWARE</h3> | |
| 174 | -Except to the extent expressly permitted by this Agreement or by the laws of the jurisdiction where the | |
| 175 | -Company acquired the Software, it may not use, copy or modify the Software. Nor may the Company | |
| 176 | -sub-license any of its rights under this Agreement. | |
| 177 | -</p> | |
| 178 | -<p> | |
| 179 | -<h3>DECOMPILING, DISASSEMBLING, OR REVERSE ENGINEERING</h3> | |
| 180 | -The Company acknowledges that the Software contains trade secrets and other proprietary information | |
| 181 | -of KT and its licensors. Except to the extent expressly permitted by this Agreement or by the laws of | |
| 182 | -the jurisdiction where the Company is located, it may not decompile, disassemble or otherwise reverse | |
| 183 | -engineer the Software, or engage in any other activities to obtain underlying information that is not | |
| 184 | -visible to the user in connection with the normal use of the Software. | |
| 185 | -</p> | |
| 186 | -<p> | |
| 187 | -In particular, the Company agrees not for any purpose to transmit the Software or display the | |
| 188 | -Software's object code on any computer screen or to make any hardcopy memory dumps of the | |
| 189 | -Software's object code. If the Company believes that it requires information related to the | |
| 190 | -interoperability of the Software with other programs, it shall not decompile or disassemble the | |
| 191 | -Software to obtain such information, and it agrees to request such information from KT at the address | |
| 192 | -listed below. Upon receiving such a request, KT shall determine whether the Company requires such | |
| 193 | -information for a legitimate purpose and, if so, KT will provide such information to the Company | |
| 194 | -within a reasonable time and on reasonable conditions. | |
| 195 | -</p> | |
| 196 | -<p> | |
| 197 | -In any event, the Company will notify KT of any information derived from reverse engineering or such | |
| 198 | -other activities, and the results thereof will constitute the confidential information of KT that may be | |
| 199 | -used only in connection with the Software. | |
| 200 | -</p> | |
| 201 | -<p> | |
| 202 | -<h3>DURATION AND TERMINATION</h3> | |
| 203 | -The license granted to the Company is effective for 1 (ONE) year. The license will also terminate | |
| 204 | -automatically without any notice from KT if the Company fails to comply with any term or condition | |
| 205 | -of this Agreement. Upon termination, KT may also enforce any rights provided by law. The provisions | |
| 206 | -of this Agreement that protect the proprietary rights of KT will continue in force after termination. | |
| 207 | -</p> | |
| 208 | -<p> | |
| 209 | -<h3>SOFTWARE MAINTENANCE</h3> | |
| 210 | -Software Maintenance includes KT's provisioning to the Company of updates and/or enhancements of | |
| 211 | -the Software made generally available to customers from time to time, and online technical support | |
| 212 | -(and where applicable, phone support) to one Company-designated technical contact for the sole | |
| 213 | -purpose of addressing technical issues relating to the use of the Software (excluding any form of on- | |
| 214 | -site visits by KT personnel or contractors). | |
| 215 | -</p> | |
| 216 | -<p> | |
| 217 | -<h3>DISCLAIMER OF ANY WARRANTY</h3> | |
| 218 | -KT does not warrant that the functions contained in the Software will meet the Company's | |
| 219 | -requirements or that the operation of the Software will be correct, uninterrupted or error-free. KT | |
| 220 | -provides evaluation copies of the Product so that customers can assess the Product. | |
| 221 | -</p> | |
| 222 | -<p> | |
| 223 | -THE SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND, EITHER | |
| 224 | -EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES | |
| 225 | -OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, TITLE OR | |
| 226 | -NONINFRINGEMENT. | |
| 227 | -</p> | |
| 228 | -<p> | |
| 229 | -The Company assumes responsibility for the support and fault-finding of any modifications made to | |
| 230 | -the Software, or merger and integration undertaken with or between any other program or code. | |
| 231 | -The Company assumes full responsibility for the selection of the Software to achieve its intended | |
| 232 | -results, and for the installation, use and results obtained from the Software. The Company also assumes | |
| 233 | -the entire risk as it applies to the quality and performance of the Software. Should the Software prove | |
| 234 | -defective, the Company (and not KT, or its distributors or dealers) assumes the entire cost of any and | |
| 235 | -all necessary servicing, repair or correction. | |
| 236 | -</p> | |
| 237 | -<p> | |
| 238 | -Some countries/states do not allow the exclusion of implied warranties, so the above exclusion may not | |
| 239 | -apply to the Company. KT disclaims all warranties of any kind if the Software was customized, | |
| 240 | -repackaged or altered in any way by any third party other than KT. | |
| 241 | -</p> | |
| 242 | -<p> | |
| 243 | -<h3>INFRINGEMENT</h3> | |
| 244 | -During any term of this Agreement, if any portion of the Software is held by a court of competent | |
| 245 | -jurisdiction to infringe any third party intellectual property rights and the Company incurs a liability or | |
| 246 | -expense as a result of such holding, then the Company's sole remedy shall be, and KT will, at its | |
| 247 | -option: (i) obtain the right for the Company to continue to use the Software consistent with this | |
| 248 | -Agreement; (ii) modify the Software so that it is non-infringing; or (iii) replace the infringing | |
| 249 | -component with a non-infringing component, or (iv) refund all money paid in the then-current calendar | |
| 250 | -quarter under this Agreement and all of the Company's rights and licenses under this Agreement shall | |
| 251 | -automatically terminate. | |
| 252 | -</p> | |
| 253 | -<p> | |
| 254 | -<h3>PUBLICITY RIGHTS</h3> | |
| 255 | -<ol> | |
| 256 | -<li>a. The Company grants KT the right to include the Company as a customer in promotional | |
| 257 | -material for the Software or for KT.</li> | |
| 258 | -<li>b. The Company can deny KT this right by submitting a written request via e-mail to | |
| 259 | -marketing@knowledgetree.com requesting to be excluded from such promotional material. | |
| 260 | -Confirmation of such denial (via reply e-mail) must be received prior to purchasing for this to | |
| 261 | -be effective.</li> | |
| 262 | -<li>c. Should the Company come to be or already be included in promotional material, as a result of | |
| 263 | -any prior purchases where the Company did not request exclusion from the promotional | |
| 264 | -material, the Company can at any point, submit a written request via e-mail to | |
| 265 | -marketing@knowledgetree.com to have KT remove the Company's name from the | |
| 266 | -promotional material. Upon receipt of such request, KT will remove any reference to the | |
| 267 | -Company from such promotional material within 30 days and make no further reference to the | |
| 268 | -Company.</li> | |
| 269 | -</ol> | |
| 270 | -</p> | |
| 271 | -<p> | |
| 272 | -During any term of this Agreement, the Company grants to KT a non-transferable, non-exclusive, | |
| 273 | -license to reproduce and display its logos, trademarks, trade names and similar identifying material so | |
| 274 | -that KT may refer to the Company as a user of the Software should KT so desire, such as on the KT | |
| 275 | -website, in press releases and in other marketing materials. | |
| 276 | -</p> | |
| 277 | -<p> | |
| 278 | -<h3>INDEMNIFICATION</h3> | |
| 279 | -If the Company distributes the Software in violation of this Agreement, it hereby indemnifies, hold | |
| 280 | -harmless and defends KT from and against any and all claims or lawsuits, including attorney's fees and | |
| 281 | -costs that arise, result from or are connected with the use or distribution of the Software in violation of | |
| 282 | -this Agreement. | |
| 283 | -</p> | |
| 284 | -<p> | |
| 285 | -<h3>LIMITATION OF REMEDIES AND DAMAGES</h3> | |
| 286 | -In no event will KT or its licensors be liable for any indirect, incidental, special or consequential | |
| 287 | -damages, or for any personal injury or bodily injury (including death) to any persons caused by KT's | |
| 288 | -negligence, or for any lost profits, lost savings, loss of use, lost revenues or lost data arising from or | |
| 289 | -relating to the Software or this Agreement, even if KT or its licensors have been advised of the | |
| 290 | -possibility of such damages. In no event will KT's liability or damages to the Company or any other | |
| 291 | -person ever exceed the amount paid by the Company to use the Software, regardless of the form of the | |
| 292 | -claim. | |
| 293 | -</p> | |
| 294 | -<p> | |
| 295 | -Some countries/states do not allow the limitation or exclusion of liability for incidental or | |
| 296 | -consequential damages, so the above limitation or exclusion may not apply to the Company. | |
| 297 | -</p> | |
| 298 | -<p> | |
| 299 | -<h3>GOVERNMENT RESTRICTED RIGHTS</h3> | |
| 300 | -Programs delivered to the U.S. Defense Dept. are delivered with Restricted Rights and the following | |
| 301 | -applies: "Restricted Rights Legend: Use, duplication or disclosure by Government is subject to | |
| 302 | -restrictions as currently set forth in subparagraph (c)(1)(ii) of DFARS 252-227-7013, Rights in | |
| 303 | -Technical Data and Computer Software (October 1988). Software manufacturer is KnowledgeTree | |
| 304 | -Inc., c/o DLA Piper US LLP, 2000 University Avenue, East Palo Alto, CA 94303. Programs delivered | |
| 305 | -to a U.S. Government Agency not within the Defense, Dept. are delivered with "Restricted Rights" as | |
| 306 | -defined in FAR 52.227-14, Rights in Data - General, including Alternate III (June 1987). | |
| 307 | -</p> | |
| 308 | -<p> | |
| 309 | -<h3>CONTRACTOR/MANUFACTURER</h3> | |
| 310 | -The Contractor/Manufacturer for the Software is: | |
| 311 | -KnowledgeTree | |
| 312 | -c/o DLA Piper US LLP | |
| 313 | -2000 University Avenue | |
| 314 | -East Palo Alto, CA 94303 | |
| 315 | -Phone: +1 415.200.0225 | |
| 316 | -</p> | |
| 317 | -<p> | |
| 318 | -<h3>GENERAL</h3> | |
| 319 | -This Agreement is binding on the Company as well as its employees, employers, contractors and | |
| 320 | -agents, and on any successors and assignees. Neither the Software nor any information derived | |
| 321 | -therefrom may be exported except in accordance with the laws of the State of Delaware or other | |
| 322 | -applicable provisions. This Agreement is governed by the laws of the State of Delaware. This | |
| 323 | -Agreement is the entire agreement between KT and the Company and the Company agrees that KT will | |
| 324 | -not have any liability for any untrue statement or representation made by it, its agents or anyone else | |
| 325 | -(whether innocently or negligently) upon which the Company relied upon entering this Agreement, | |
| 326 | -unless such untrue statement or representation was made fraudulently. This Agreement supersedes any | |
| 327 | -other understandings or agreements, including, but not limited to, advertising, with respect to the | |
| 328 | -Software. If any provision of this Agreement is deemed invalid or unenforceable by any country or | |
| 329 | -government agency having jurisdiction, that particular provision will be deemed modified to the extent | |
| 330 | -necessary to make the provision valid and enforceable, and the remaining provisions will remain in full | |
| 331 | -force and effect. The original of this Agreement has been written in English, and that version will | |
| 332 | -govern. | |
| 333 | -</p> | |
| 17 | +<?php echo file_get_contents($licensePath); ?> | |
| 334 | 18 | </div> |
| 335 | 19 | <input id="accept" type="hidden" name="license" value=""/> |
| 336 | 20 | <input type="submit" name="Previous" value="Previous" class="button_previous"/> | ... | ... |
sql/mysql/install/structure.sql
| ... | ... | @@ -1285,7 +1285,7 @@ CREATE TABLE `plugin_helper` ( |
| 1285 | 1285 | `pathname` varchar(255) default NULL, |
| 1286 | 1286 | `object` varchar(1000) NOT NULL, |
| 1287 | 1287 | `classtype` varchar(120) NOT NULL, |
| 1288 | - `viewtype` enum('general','dashboard','plugin','folder','document','admindispatcher','dispatcher') NOT NULL default 'general', | |
| 1288 | + `viewtype` enum('general','dashboard','plugin','folder','document','admindispatcher','dispatcher','process') NOT NULL default 'general', | |
| 1289 | 1289 | PRIMARY KEY (`id`), |
| 1290 | 1290 | KEY `name` (`namespace`), |
| 1291 | 1291 | KEY `parent` (`plugin`), | ... | ... |
sql/mysql/upgrade/3.7.0/plugin_helper.sql
0 → 100644