This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); |
||
3 | /********************************************************************************* |
||
4 | * SugarCRM Community Edition is a customer relationship management program developed by |
||
5 | * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. |
||
6 | |||
7 | * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. |
||
8 | * Copyright (C) 2011 - 2014 Salesagility Ltd. |
||
9 | * |
||
10 | * This program is free software; you can redistribute it and/or modify it under |
||
11 | * the terms of the GNU Affero General Public License version 3 as published by the |
||
12 | * Free Software Foundation with the addition of the following permission added |
||
13 | * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK |
||
14 | * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY |
||
15 | * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. |
||
16 | * |
||
17 | * This program is distributed in the hope that it will be useful, but WITHOUT |
||
18 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||
19 | * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more |
||
20 | * details. |
||
21 | * |
||
22 | * You should have received a copy of the GNU Affero General Public License along with |
||
23 | * this program; if not, see http://www.gnu.org/licenses or write to the Free |
||
24 | * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
||
25 | * 02110-1301 USA. |
||
26 | * |
||
27 | * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, |
||
28 | * SW2-130, Cupertino, CA 95014, USA. or at email address [email protected]. |
||
29 | * |
||
30 | * The interactive user interfaces in modified source and object code versions |
||
31 | * of this program must display Appropriate Legal Notices, as required under |
||
32 | * Section 5 of the GNU Affero General Public License version 3. |
||
33 | * |
||
34 | * In accordance with Section 7(b) of the GNU Affero General Public License version 3, |
||
35 | * these Appropriate Legal Notices must retain the display of the "Powered by |
||
36 | * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not |
||
37 | * reasonably feasible for technical reasons, the Appropriate Legal Notices must |
||
38 | * display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM". |
||
39 | ********************************************************************************/ |
||
40 | |||
41 | |||
42 | |||
43 | |||
44 | if( !isset( $install_script ) || !$install_script ){ |
||
45 | die($mod_strings['ERR_NO_DIRECT_SCRIPT']); |
||
46 | } |
||
47 | // $mod_strings come from calling page. |
||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | |||
54 | |||
55 | |||
56 | |||
57 | |||
58 | |||
59 | // System Environment |
||
60 | $envString = ' |
||
61 | |||
62 | <h3>'.$mod_strings['LBL_SYSTEM_ENV'].'</h3>'; |
||
63 | |||
64 | // PHP VERSION |
||
65 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_PHPVER'].'</b> '.constant('PHP_VERSION').'</p>'; |
||
66 | |||
67 | |||
68 | //Begin List of already known good variables. These were checked during the initial sys check |
||
69 | // XML Parsing |
||
70 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_XML'].'</b> '.$mod_strings['LBL_CHECKSYS_OK'].'</p>'; |
||
71 | |||
72 | |||
73 | |||
74 | // mbstrings |
||
75 | |||
76 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_MBSTRING'].'</b> '.$mod_strings['LBL_CHECKSYS_OK'].'</p>'; |
||
77 | |||
78 | // config.php |
||
79 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_CONFIG'].'</b> '.$mod_strings['LBL_CHECKSYS_OK'].'</p>'; |
||
80 | |||
81 | // custom dir |
||
82 | |||
83 | |||
84 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_CUSTOM'].'</b> '.$mod_strings['LBL_CHECKSYS_OK'].'</p>'; |
||
85 | |||
86 | |||
87 | // modules dir |
||
88 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_MODULE'].'</b> '.$mod_strings['LBL_CHECKSYS_OK'].'</p'; |
||
89 | |||
90 | // upload dir |
||
91 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_UPLOAD'].'</b> '.$mod_strings['LBL_CHECKSYS_OK'].'</p>'; |
||
92 | |||
93 | // data dir |
||
94 | |||
95 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_DATA'].'</b> '.$mod_strings['LBL_CHECKSYS_OK'].'</p>'; |
||
96 | |||
97 | // cache dir |
||
98 | $error_found = true; |
||
99 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_CACHE'].'</b> '.$mod_strings['LBL_CHECKSYS_OK'].'</p>'; |
||
100 | // End already known to be good |
||
101 | |||
102 | // memory limit |
||
103 | $memory_msg = ""; |
||
104 | // CL - fix for 9183 (if memory_limit is enabled we will honor it and check it; otherwise use unlimited) |
||
105 | $memory_limit = ini_get('memory_limit'); |
||
106 | if(empty($memory_limit)){ |
||
107 | $memory_limit = "-1"; |
||
108 | } |
||
109 | if(!defined('SUGARCRM_MIN_MEM')) { |
||
110 | define('SUGARCRM_MIN_MEM', 40*1024*1024); |
||
111 | } |
||
112 | $sugarMinMem = constant('SUGARCRM_MIN_MEM'); |
||
113 | // logic based on: http://us2.php.net/manual/en/ini.core.php#ini.memory-limit |
||
114 | if( $memory_limit == "" ){ // memory_limit disabled at compile time, no memory limit |
||
115 | $memory_msg = "<b>{$mod_strings['LBL_CHECKSYS_MEM_OK']}</b>"; |
||
116 | } elseif( $memory_limit == "-1" ){ // memory_limit enabled, but set to unlimited |
||
117 | $memory_msg = "{$mod_strings['LBL_CHECKSYS_MEM_UNLIMITED']}"; |
||
118 | } else { |
||
119 | $mem_display = $memory_limit; |
||
120 | preg_match('/^\s*([0-9.]+)\s*([KMGTPE])B?\s*$/i', $memory_limit, $matches); |
||
121 | $num = (float)$matches[1]; |
||
122 | // Don't break so that it falls through to the next case. |
||
123 | switch (strtoupper($matches[2])) { |
||
124 | case 'G': |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
125 | $num = $num * 1024; |
||
126 | case 'M': |
||
0 ignored issues
–
show
|
|||
127 | $num = $num * 1024; |
||
128 | case 'K': |
||
129 | $num = $num * 1024; |
||
130 | } |
||
131 | $memory_limit_int = intval($num); |
||
132 | $SUGARCRM_MIN_MEM = (int) constant('SUGARCRM_MIN_MEM'); |
||
133 | if( $memory_limit_int < constant('SUGARCRM_MIN_MEM') ){ |
||
134 | // Bug59667: The string ERR_CHECKSYS_MEM_LIMIT_2 already has 'M' in it, |
||
135 | // so we divide the constant by 1024*1024. |
||
136 | $min_mem_in_megs = constant('SUGARCRM_MIN_MEM')/(1024*1024); |
||
137 | $memory_msg = "<span class='stop'><b>$memory_limit{$mod_strings['ERR_CHECKSYS_MEM_LIMIT_1']}" . $min_mem_in_megs . "{$mod_strings['ERR_CHECKSYS_MEM_LIMIT_2']}</b></span>"; |
||
138 | $memory_msg = str_replace('$memory_limit', $mem_display, $memory_msg); |
||
139 | } else { |
||
140 | $memory_msg = "{$mod_strings['LBL_CHECKSYS_OK']} ({$memory_limit})"; |
||
141 | } |
||
142 | } |
||
143 | |||
144 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_MEM'].'</strong></b> '.$memory_msg.'</p>'; |
||
145 | |||
146 | // zlib |
||
147 | if(function_exists('gzclose')) { |
||
148 | $zlibStatus = "{$mod_strings['LBL_CHECKSYS_OK']}"; |
||
149 | } else { |
||
150 | $zlibStatus = "<span class='stop'><b>{$mod_strings['ERR_CHECKSYS_ZLIB']}</b></span>"; |
||
151 | } |
||
152 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_ZLIB'].'</b> '.$zlibStatus.'</p>'; |
||
153 | |||
154 | // zip |
||
155 | if(class_exists("ZipArchive")) { |
||
156 | $zipStatus = "{$mod_strings['LBL_CHECKSYS_OK']}"; |
||
157 | } else { |
||
158 | $zipStatus = "<span class='stop'><b>{$mod_strings['ERR_CHECKSYS_ZIP']}</b></span>"; |
||
159 | } |
||
160 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_ZIP'].'</b> '.$zipStatus.'</p>'; |
||
161 | |||
162 | // PCRE |
||
163 | if(defined('PCRE_VERSION')) { |
||
164 | if (version_compare(PCRE_VERSION, '7.0') < 0) { |
||
165 | $pcreStatus = "<span class='stop'><b>{$mod_strings['ERR_CHECKSYS_PCRE_VER']}</b></span>"; |
||
166 | } |
||
167 | else { |
||
168 | $pcreStatus = "{$mod_strings['LBL_CHECKSYS_OK']}"; |
||
169 | } |
||
170 | } else { |
||
171 | $pcreStatus = "<span class='stop'><b>{$mod_strings['ERR_CHECKSYS_PCRE']}</b></span>"; |
||
172 | } |
||
173 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_PCRE'].'</b> '.$pcreStatus.'</p>'; |
||
174 | |||
175 | // imap |
||
176 | if(function_exists('imap_open')) { |
||
177 | $imapStatus = "{$mod_strings['LBL_CHECKSYS_OK']}"; |
||
178 | } else { |
||
179 | $imapStatus = "<span class='stop'><b>{$mod_strings['ERR_CHECKSYS_IMAP']}</b></span>"; |
||
180 | } |
||
181 | |||
182 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_IMAP'].'</b> '.$imapStatus.'</p>'; |
||
183 | |||
184 | |||
185 | // cURL |
||
186 | if(function_exists('curl_init')) { |
||
187 | $curlStatus = "{$mod_strings['LBL_CHECKSYS_OK']}"; |
||
188 | } else { |
||
189 | $curlStatus = "<span class='stop'><b>{$mod_strings['ERR_CHECKSYS_CURL']}</b></span>"; |
||
190 | } |
||
191 | |||
192 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_CURL'].'</b> '.$curlStatus.'</p>'; |
||
193 | |||
194 | |||
195 | //CHECK UPLOAD FILE SIZE |
||
196 | $upload_max_filesize = ini_get('upload_max_filesize'); |
||
197 | $upload_max_filesize_bytes = return_bytes($upload_max_filesize); |
||
198 | if(!defined('SUGARCRM_MIN_UPLOAD_MAX_FILESIZE_BYTES')){ |
||
199 | define('SUGARCRM_MIN_UPLOAD_MAX_FILESIZE_BYTES', 6 * 1024 * 1024); |
||
200 | } |
||
201 | |||
202 | if($upload_max_filesize_bytes > constant('SUGARCRM_MIN_UPLOAD_MAX_FILESIZE_BYTES')) { |
||
203 | $fileMaxStatus = "{$mod_strings['LBL_CHECKSYS_OK']}</font>"; |
||
204 | } else { |
||
205 | $fileMaxStatus = "<span class='stop'><b>{$mod_strings['ERR_UPLOAD_MAX_FILESIZE']}</font></b></span>"; |
||
206 | } |
||
207 | |||
208 | $envString .='<p><b>'.$mod_strings['LBL_UPLOAD_MAX_FILESIZE_TITLE'].'</b> '.$fileMaxStatus.'</p>'; |
||
209 | |||
210 | //CHECK Sprite support |
||
211 | if(function_exists('imagecreatetruecolor')) |
||
212 | { |
||
213 | $spriteSupportStatus = "{$mod_strings['LBL_CHECKSYS_OK']}</font>"; |
||
214 | }else{ |
||
215 | $spriteSupportStatus = "<span class='stop'><b>{$mod_strings['ERROR_SPRITE_SUPPORT']}</b></span>"; |
||
216 | } |
||
217 | $envString .='<p><b>'.$mod_strings['LBL_SPRITE_SUPPORT'].'</b> '.$spriteSupportStatus.'</p>'; |
||
218 | |||
219 | // Suhosin allow to use upload:// |
||
220 | if (UploadStream::getSuhosinStatus() == true || (strpos(ini_get('suhosin.perdir'), 'e') !== false && strpos($_SERVER["SERVER_SOFTWARE"],'Microsoft-IIS') === false)) |
||
0 ignored issues
–
show
|
|||
221 | { |
||
222 | $suhosinStatus = "{$mod_strings['LBL_CHECKSYS_OK']}"; |
||
223 | } |
||
224 | else |
||
225 | { |
||
226 | $suhosinStatus = "<span class='stop'><b>{$app_strings['ERR_SUHOSIN']}</b></span>"; |
||
227 | } |
||
228 | $envString .= "<p><b>{$mod_strings['LBL_STREAM']} (" . UploadStream::STREAM_NAME . "://)</b> " . $suhosinStatus . "</p>"; |
||
229 | |||
230 | // PHP.ini |
||
231 | $phpIniLocation = get_cfg_var("cfg_file_path"); |
||
232 | $envString .='<p><b>'.$mod_strings['LBL_CHECKSYS_PHP_INI'].'</b> '.$phpIniLocation.'</p>'; |
||
233 | |||
234 | $out =<<<EOQ |
||
235 | |||
236 | <div id="syscred"> |
||
237 | |||
238 | EOQ; |
||
239 | |||
240 | $out .= $envString; |
||
241 | |||
242 | $out .=<<<EOQ |
||
243 | |||
244 | </div> |
||
245 | <div class="clear"></div> |
||
246 | EOQ; |
||
247 | |||
248 | $sugar_config_defaults = get_sugar_config_defaults(); |
||
249 | |||
250 | // CRON Settings |
||
251 | if ( !isset($sugar_config['default_language']) ) |
||
252 | $sugar_config['default_language'] = $_SESSION['default_language']; |
||
253 | if ( !isset($sugar_config['cache_dir']) ) |
||
254 | $sugar_config['cache_dir'] = $sugar_config_defaults['cache_dir']; |
||
255 | if ( !isset($sugar_config['site_url']) ) |
||
256 | $sugar_config['site_url'] = $_SESSION['setup_site_url']; |
||
257 | if ( !isset($sugar_config['translation_string_prefix']) ) |
||
258 | $sugar_config['translation_string_prefix'] = $sugar_config_defaults['translation_string_prefix']; |
||
259 | $mod_strings_scheduler = return_module_language($GLOBALS['current_language'], 'Schedulers'); |
||
260 | $error = ''; |
||
261 | |||
262 | if (!isset($_SERVER['Path'])) { |
||
263 | $_SERVER['Path'] = getenv('Path'); |
||
264 | } |
||
265 | if(is_windows()) { |
||
266 | if(isset($_SERVER['Path']) && !empty($_SERVER['Path'])) { // IIS IUSR_xxx may not have access to Path or it is not set |
||
267 | if(!strpos($_SERVER['Path'], 'php')) { |
||
0 ignored issues
–
show
This
if statement is empty and can be removed.
This check looks for the bodies of These if (rand(1, 6) > 3) {
//print "Check failed";
} else {
print "Check succeeded";
}
could be turned into if (rand(1, 6) <= 3) {
print "Check succeeded";
}
This is much more concise to read. ![]() |
|||
268 | // $error = '<em>'.$mod_strings_scheduler['LBL_NO_PHP_CLI'].'</em>'; |
||
269 | } |
||
270 | } |
||
271 | $cronString = '<p><b>'.$mod_strings_scheduler['LBL_CRON_WINDOWS_DESC'].'</b><br> |
||
272 | cd '.realpath('./').'<br> |
||
273 | php.exe -f cron.php |
||
274 | <br>'.$error.'</p> |
||
275 | '; |
||
276 | } else { |
||
277 | if(isset($_SERVER['Path']) && !empty($_SERVER['Path'])) { // some Linux servers do not make this available |
||
278 | if(!strpos($_SERVER['PATH'], 'php')) { |
||
0 ignored issues
–
show
This
if statement is empty and can be removed.
This check looks for the bodies of These if (rand(1, 6) > 3) {
//print "Check failed";
} else {
print "Check succeeded";
}
could be turned into if (rand(1, 6) <= 3) {
print "Check succeeded";
}
This is much more concise to read. ![]() |
|||
279 | // $error = '<em>'.$mod_strings_scheduler['LBL_NO_PHP_CLI'].'</em>'; |
||
280 | } |
||
281 | } |
||
282 | $cronString = '<p><b>'.$mod_strings_scheduler['LBL_CRON_INSTRUCTIONS_LINUX'].'</b><br> '.$mod_strings_scheduler['LBL_CRON_LINUX_DESC'].'<br> |
||
283 | * * * * * |
||
284 | cd '.realpath('./').'; php -f cron.php > /dev/null 2>&1 |
||
285 | <br><br><hr><br>'.$error.'</p> |
||
286 | '; |
||
287 | } |
||
288 | |||
289 | $out .= $cronString; |
||
290 | |||
291 | $sysEnv = $out; |
||
292 | |||
293 | /////////////////////////////////////////////////////////////////////////////// |
||
294 | //// START OUTPUT |
||
295 | |||
296 | $langHeader = get_language_header(); |
||
297 | $out = <<<EOQ |
||
298 | <!DOCTYPE HTML> |
||
299 | <html {$langHeader}> |
||
300 | <head> |
||
301 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
||
302 | <meta http-equiv="Content-Style-Type" content="text/css"> |
||
303 | <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' /> |
||
304 | <title>{$mod_strings['LBL_WIZARD_TITLE']} {$mod_strings['LBL_TITLE_ARE_YOU_READY']}</title> <link REL="SHORTCUT ICON" HREF="include/images/sugar_icon.ico"> |
||
305 | <link rel="stylesheet" href="install/install2.css" type="text/css"> |
||
306 | <link rel="stylesheet" href="themes/Suite7/css/responsiveslides.css" type="text/css"> |
||
307 | <link rel="stylesheet" href="themes/Suite7/css/themes.css" type="text/css"> |
||
308 | <link rel="stylesheet" href="themes/Suite7/css/fontello.css"> |
||
309 | <link rel="stylesheet" href="themes/Suite7/css/animation.css"><!--[if IE 7]><link rel="stylesheet" href="css/fontello-ie7.css"><![endif]--> |
||
310 | <script src="include/javascript/jquery/jquery-min.js"></script> |
||
311 | <script src="themes/Suite7/js/responsiveslides.min.js"></script> |
||
312 | </head> |
||
313 | <body> |
||
314 | <!--SuiteCRM installer--> |
||
315 | <div id="install_container"> |
||
316 | <div id="install_box"> |
||
317 | <header id="install_header"> |
||
318 | <div id="steps"> |
||
319 | <p>{$mod_strings['LBL_STEP1']}</p> |
||
320 | <i class="icon-progress-0" id="complete"></i> |
||
321 | <i class="icon-progress-1"></i> |
||
322 | <i class="icon-progress-2"></i> |
||
323 | </div> |
||
324 | <!-- |
||
325 | <div id="steps"><p>{$mod_strings['LBL_STEP1']}</p><i class="icon-progress-0"></i><i class="icon-progress-1"></i><i class="icon-progress-2"></i><i class="icon-progress-3"></i><i class="icon-progress-4"></i><i class="icon-progress-5"></i><i class="icon-progress-6"></i><i class="icon-progress-7"></i></div> |
||
326 | --> |
||
327 | <div class="install_img"><a href="https://suitecrm.com" target="_blank"><img src="{$sugar_md}" alt="SuiteCRM"></a></div> |
||
328 | </header> |
||
329 | <form action="install.php" method="post" name="form" id="form"> |
||
330 | <div id="install_content"> |
||
331 | {$sysEnv} |
||
332 | |||
333 | <!-- |
||
334 | |||
335 | <h3>{$mod_strings['LBL_TITLE_ARE_YOU_READY']}</h3> |
||
336 | <p><strong>{$mod_strings['LBL_WELCOME_PLEASE_READ_BELOW']}</strong></p> |
||
337 | <span onclick="showtime('sys_comp');" style="cursor:pointer;cursor:hand"> |
||
338 | <span id='basic_sys_comp'><img alt="{$mod_strings['LBL_BASIC_SEARCH']}" src="themes/default/images/basic_search.gif" border="0"></span> |
||
339 | <span id='adv_sys_comp' style='display:none'><img alt="{$mod_strings['LBL_ADVANCED_SEARCH']}" src="themes/default/images/advanced_search.gif" border="0"></span> |
||
340 | {$mod_strings['REQUIRED_SYS_COMP']} |
||
341 | </span> |
||
342 | <div id='sys_comp' >{$mod_strings['REQUIRED_SYS_COMP_MSG']}</div> |
||
343 | <span onclick="showtime('sys_check');" style="cursor:pointer;cursor:hand"> |
||
344 | <span id='basic_sys_check'><img alt="{$mod_strings['LBL_BASIC_SEARCH']}" src="themes/default/images/basic_search.gif" border="0"></span> |
||
345 | <span id='adv_sys_check' style='display:none'><img alt="{$mod_strings['LBL_ADVANCED_SEARCH']}" src="themes/default/images/advanced_search.gif" border="0"></span> |
||
346 | {$mod_strings['REQUIRED_SYS_CHK']} |
||
347 | </span> |
||
348 | <div id='sys_check' >{$mod_strings['REQUIRED_SYS_CHK_MSG']}</div> |
||
349 | <span onclick="showtime('installType');" style="cursor:pointer;cursor:hand"> |
||
350 | <span id='basic_installType'><img alt="{$mod_strings['LBL_BASIC_TYPE']}" src="themes/default/images/basic_search.gif" border="0"></span> |
||
351 | <span id='adv_installType' style='display:none'><img alt="{$mod_strings['LBL_ADVANCED_TYPE']}" src="themes/default/images/advanced_search.gif" border="0"></span> |
||
352 | {$mod_strings['REQUIRED_INSTALLTYPE']} |
||
353 | </span> |
||
354 | <div id='installType' >{$mod_strings['REQUIRED_INSTALLTYPE_MSG']}</div> |
||
355 | <hr> |
||
356 | |||
357 | --> |
||
358 | |||
359 | </div> |
||
360 | <div id="installcontrols"> |
||
361 | <input type="hidden" name="current_step" value="{$next_step}"> |
||
362 | <input class="acceptButton" type="button" name="goto" value="{$mod_strings['LBL_BACK']}" id="button_back_ready" onclick="document.getElementById('form').submit();" /> |
||
363 | <input class="button" type="submit" name="goto" value="{$mod_strings['LBL_NEXT']}" id="button_next2" /> |
||
364 | </div> |
||
365 | </form> |
||
366 | <script> |
||
367 | function showtime(div){ |
||
368 | |||
369 | if(document.getElementById(div).style.display == ''){ |
||
370 | document.getElementById(div).style.display = 'none'; |
||
371 | document.getElementById('adv_'+div).style.display = ''; |
||
372 | document.getElementById('basic_'+div).style.display = 'none'; |
||
373 | }else{ |
||
374 | document.getElementById(div).style.display = ''; |
||
375 | document.getElementById('adv_'+div).style.display = 'none'; |
||
376 | document.getElementById('basic_'+div).style.display = ''; |
||
377 | } |
||
378 | |||
379 | } |
||
380 | </script> |
||
381 | </div> |
||
382 | <footer id="install_footer"> |
||
383 | <p id="footer_links"><a href="https://suitecrm.com" target="_blank">Visit suitecrm.com</a> | <a href="https://suitecrm.com/index.php?option=com_kunena&view=category&Itemid=1137&layout=list" target="_blank">Support Forums</a> | <a href="https://suitecrm.com/wiki/index.php/Installation" target="_blank">Installation Guide</a> | <a href="LICENSE.txt" target="_blank">License</a> |
||
384 | </footer> |
||
385 | </div> |
||
386 | </body> |
||
387 | </html> |
||
388 | EOQ; |
||
389 | echo $out; |
||
390 | ?> |
||
391 |