author | Dan |
Fri, 21 Aug 2009 15:39:23 -0400 | |
changeset 1096 | 86feb1c7ca3f |
parent 1081 | 745200a9cc2a |
child 1144 | fcb2be1428e7 |
permissions | -rw-r--r-- |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
1 |
<?php |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
2 |
|
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
3 |
/* |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
4 |
* Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
1081
745200a9cc2a
Fixed some upgrade bugs; added support for choosing one's own date/time formats; rebrand as 1.1.7
Dan
parents:
933
diff
changeset
|
5 |
* Copyright (C) 2006-2009 Dan Fuhry |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
6 |
* Installation package |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
7 |
* sysreqs.php - Installer system-requirements page |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
8 |
* |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
9 |
* This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
10 |
* as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
11 |
* |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
12 |
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
13 |
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
14 |
*/ |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
15 |
|
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
16 |
if ( !defined('IN_ENANO_INSTALL') ) |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
17 |
die(); |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
18 |
|
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
19 |
global $failed, $warned; |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
20 |
|
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
21 |
$failed = false; |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
22 |
$warned = false; |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
23 |
|
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
24 |
function run_test($code, $desc, $extended_desc, $warn = false) |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
25 |
{ |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
26 |
global $failed, $warned; |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
27 |
static $cv = true; |
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
28 |
$cv = !$cv; |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
29 |
$val = eval($code); |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
30 |
if($val) |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
31 |
{ |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
32 |
if($cv) $color='CCFFCC'; else $color='AAFFAA'; |
404
fb4f9e6f378f
Made the form validation icons (check/X/?) more visually appealing. IE-friendliness is still on the TODO list.
Dan
parents:
348
diff
changeset
|
33 |
echo "<tr><td style='background-color: #$color; width: 500px; padding: 5px;'>$desc</td><td style='padding-left: 10px;'><img alt='Test passed' src='../images/check.png' /></td></tr>"; |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
34 |
} elseif(!$val && $warn) { |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
35 |
if($cv) $color='FFFFCC'; else $color='FFFFAA'; |
404
fb4f9e6f378f
Made the form validation icons (check/X/?) more visually appealing. IE-friendliness is still on the TODO list.
Dan
parents:
348
diff
changeset
|
36 |
echo "<tr><td style='background-color: #$color; width: 500px; padding: 5px;'>$desc<br /><b>$extended_desc</b></td><td style='padding-left: 10px;'><img alt='Test passed with warning' src='../images/checkunk.png' /></td></tr>"; |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
37 |
$warned = true; |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
38 |
} else { |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
39 |
if($cv) $color='FFCCCC'; else $color='FFAAAA'; |
404
fb4f9e6f378f
Made the form validation icons (check/X/?) more visually appealing. IE-friendliness is still on the TODO list.
Dan
parents:
348
diff
changeset
|
40 |
echo "<tr><td style='background-color: #$color; width: 500px; padding: 5px;'>$desc<br /><b>$extended_desc</b></td><td style='padding-left: 10px;'><img alt='Test failed' src='../images/checkbad.png' /></td></tr>"; |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
41 |
$failed = true; |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
42 |
} |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
43 |
} |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
44 |
function is_apache() |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
45 |
{ |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
46 |
$r = strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') ? true : false; |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
47 |
return $r; |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
48 |
} |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
49 |
|
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
50 |
$warnings = array(); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
51 |
$failed = false; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
52 |
$have_dbms = false; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
53 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
54 |
// Test: Apache |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
55 |
$req_apache = is_apache() ? 'good' : 'bad'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
56 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
57 |
// Test: PHP |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
58 |
if ( version_compare(PHP_VERSION, '5.2.0', '>=') ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
59 |
{ |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
60 |
$req_php = 'good'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
61 |
} |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
62 |
else if ( version_compare(PHP_VERSION, '5.0.0', '>=') ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
63 |
{ |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
64 |
$warnings[] = $lang->get('sysreqs_req_help_php', array('php_version' => PHP_VERSION)); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
65 |
$req_php = 'warn'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
66 |
} |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
67 |
else |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
68 |
{ |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
69 |
$failed = true; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
70 |
$req_php = 'bad'; |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
71 |
} |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
72 |
|
857
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
73 |
// Test: Safe Mode |
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
74 |
$req_safemode = !intval(@ini_get('safe_mode')); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
75 |
if ( !$req_safemode ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
76 |
{ |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
77 |
$warnings[] = $lang->get('sysreqs_req_help_safemode'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
78 |
$failed = true; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
79 |
} |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
80 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
81 |
// Test: MySQL |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
82 |
$req_mysql = function_exists('mysql_connect'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
83 |
if ( $req_mysql ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
84 |
$have_dbms = true; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
85 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
86 |
// Test: PostgreSQL |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
87 |
$req_pgsql = function_exists('pg_connect'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
88 |
if ( $req_pgsql ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
89 |
$have_dbms = true; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
90 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
91 |
if ( !$have_dbms ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
92 |
$failed = true; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
93 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
94 |
// Test: File uploads |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
95 |
$req_uploads = intval(@ini_get('file_uploads')); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
96 |
|
857
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
97 |
// Test: ctype validation |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
98 |
$req_ctype = function_exists('ctype_digit'); |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
99 |
if ( !$req_ctype ) |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
100 |
$failed = true; |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
101 |
|
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
102 |
// Writability test: config |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
103 |
$req_config_w = write_test('config.new.php'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
104 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
105 |
// Writability test: .htaccess |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
106 |
$req_htaccess_w = write_test('.htaccess.new'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
107 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
108 |
// Writability test: files |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
109 |
$req_files_w = write_test('files'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
110 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
111 |
// Writability test: cache |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
112 |
$req_cache_w = write_test('cache'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
113 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
114 |
if ( !$req_config_w || !$req_htaccess_w || !$req_files_w || !$req_cache_w ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
115 |
$warnings[] = $lang->get('sysreqs_req_help_writable'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
116 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
117 |
if ( !$req_config_w ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
118 |
$failed = true; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
119 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
120 |
// Extension test: GD |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
121 |
$req_gd = function_exists('imagecreatefrompng') && function_exists('getimagesize') && function_exists('imagecreatetruecolor') && function_exists('imagecopyresampled'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
122 |
if ( !$req_gd ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
123 |
$warnings[] = $lang->get('sysreqs_req_help_gd2'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
124 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
125 |
// FS test: ImageMagick |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
126 |
$req_imagick = which('convert'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
127 |
if ( !$req_imagick ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
128 |
$warnings[] = $lang->get('sysreqs_req_help_imagemagick'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
129 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
130 |
// Extension test: GMP |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
131 |
$req_gmp = function_exists('gmp_init'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
132 |
if ( !$req_gmp ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
133 |
$warnings[] = $lang->get('sysreqs_req_help_gmp'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
134 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
135 |
// Extension test: Big_Int |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
136 |
$req_bigint = function_exists('bi_from_str'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
137 |
if ( !$req_bigint && !$req_gmp ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
138 |
$warnings[] = $lang->get('sysreqs_req_help_bigint'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
139 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
140 |
// Extension test: BCMath |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
141 |
$req_bcmath = function_exists('bcadd'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
142 |
if ( !$req_bcmath && !$req_bigint && !$req_gmp ) |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
143 |
$warnings[] = $lang->get('sysreqs_req_help_bcmath'); |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
144 |
|
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
145 |
?> |
852 | 146 |
|
932
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
147 |
<div style="float: right; padding-top: 10px;"> |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
148 |
<form action="install.php?stage=sysreqs" method="post"> |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
149 |
<?php |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
150 |
echo '<input type="hidden" name="language" value="' . $lang_id . '" />'; |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
151 |
?> |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
152 |
<button style="display: block; padding-bottom: 3px;"> |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
153 |
<img alt=" " src="images/recheck.png" style="position: relative; top: 3px; left: -2px;" /> |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
154 |
<?php echo $lang->get('sysreqs_btn_refresh'); ?> |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
155 |
</button> |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
156 |
</form> |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
157 |
</div> |
852 | 158 |
|
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
159 |
<h3><?php echo $lang->get('sysreqs_heading'); ?></h3> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
160 |
<p><?php echo $lang->get('sysreqs_blurb'); ?></p> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
161 |
|
932
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
162 |
<span class="menuclear"></span> |
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
163 |
|
933
4823788b8603
Installer: Whoops, moved the start of the main form on sysreqs down too far
Dan
parents:
932
diff
changeset
|
164 |
<form action="install.php?stage=database" method="post"> |
4823788b8603
Installer: Whoops, moved the start of the main form on sysreqs down too far
Dan
parents:
932
diff
changeset
|
165 |
<?php |
4823788b8603
Installer: Whoops, moved the start of the main form on sysreqs down too far
Dan
parents:
932
diff
changeset
|
166 |
echo '<input type="hidden" name="language" value="' . $lang_id . '" />'; |
4823788b8603
Installer: Whoops, moved the start of the main form on sysreqs down too far
Dan
parents:
932
diff
changeset
|
167 |
?> |
4823788b8603
Installer: Whoops, moved the start of the main form on sysreqs down too far
Dan
parents:
932
diff
changeset
|
168 |
|
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
169 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
170 |
if ( !empty($warnings) ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
171 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
172 |
<div class="sysreqs_warning"> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
173 |
<h3><?php echo $lang->get('sysreqs_summary_warn_title'); ?></h3> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
174 |
<p><?php echo $lang->get('sysreqs_summary_warn_body'); ?></p> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
175 |
<ul> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
176 |
<li><?php echo implode("</li>\n <li>", $warnings); ?></li> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
177 |
</ul> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
178 |
</div> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
179 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
180 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
181 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
182 |
if ( !$have_dbms ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
183 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
184 |
<div class="sysreqs_error"> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
185 |
<h3><?php echo $lang->get('sysreqs_err_no_dbms_title'); ?></h3> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
186 |
<p><?php echo $lang->get('sysreqs_err_no_dbms_body'); ?></p> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
187 |
</div> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
188 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
189 |
endif; |
852 | 190 |
if ( empty($warnings) && !$failed ): |
191 |
?> |
|
192 |
<div class="sysreqs_success"> |
|
193 |
<h3><?php echo $lang->get('sysreqs_summary_pass_title'); ?></h3> |
|
194 |
<p><?php echo $lang->get('sysreqs_summary_pass_body'); ?></p> |
|
195 |
</div> |
|
196 |
<div style="text-align: center;"> |
|
197 |
<input type="submit" value="<?php echo $lang->get('meta_btn_continue'); ?>" /> |
|
198 |
</div> |
|
199 |
<?php |
|
200 |
endif; |
|
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
201 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
202 |
if ( $failed ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
203 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
204 |
<div class="sysreqs_error"> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
205 |
<h3><?php echo $lang->get('sysreqs_summary_fail_title'); ?></h3> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
206 |
<p><?php echo $lang->get('sysreqs_summary_fail_body'); ?></p> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
207 |
</div> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
208 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
209 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
210 |
?> |
932
d5437edb6c1c
Installer: Added recheck button to sysreqs page (thanks Nolan Rollo)
Dan
parents:
857
diff
changeset
|
211 |
|
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
212 |
<table border="0" cellspacing="0" cellpadding="0" class="sysreqs"> |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
213 |
|
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
214 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
215 |
<th colspan="2"><?php echo $lang->get('sysreqs_heading_serverenv'); ?></th> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
216 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
217 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
218 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
219 |
<td><?php echo $lang->get('sysreqs_req_apache'); ?></td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
220 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
221 |
if ( $req_apache ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
222 |
echo '<td class="good">' . $lang->get('sysreqs_req_found') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
223 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
224 |
echo '<td class="bad">' . $lang->get('sysreqs_req_notfound') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
225 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
226 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
227 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
228 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
229 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
230 |
<td><?php echo $lang->get('sysreqs_req_php'); ?></td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
231 |
<td class="<?php echo $req_php; ?>">v<?php echo PHP_VERSION; ?></td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
232 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
233 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
234 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
235 |
<td><?php echo $lang->get('sysreqs_req_safemode'); ?></td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
236 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
237 |
if ( $req_safemode ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
238 |
echo '<td class="good">' . $lang->get('sysreqs_req_disabled') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
239 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
240 |
echo '<td class="bad">' . $lang->get('sysreqs_req_enabled') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
241 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
242 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
243 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
244 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
245 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
246 |
<td><?php echo $lang->get('sysreqs_req_uploads'); ?></td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
247 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
248 |
if ( $req_uploads ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
249 |
echo '<td class="good">' . $lang->get('sysreqs_req_enabled') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
250 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
251 |
echo '<td class="bad">' . $lang->get('sysreqs_req_disabled') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
252 |
endif; |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
253 |
?> |
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
254 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
255 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
256 |
<tr> |
857
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
257 |
<td><?php echo $lang->get('sysreqs_req_ctype'); ?></td> |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
258 |
<?php |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
259 |
if ( $req_ctype ): |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
260 |
echo '<td class="good">' . $lang->get('sysreqs_req_supported') . '</td>'; |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
261 |
else: |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
262 |
echo '<td class="bad">' . $lang->get('sysreqs_req_unsupported') . '</td>'; |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
263 |
endif; |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
264 |
?> |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
265 |
</tr> |
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
266 |
|
f3a5a276208c
Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Dan
parents:
852
diff
changeset
|
267 |
<tr> |
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
268 |
<th colspan="2"><?php echo $lang->get('sysreqs_heading_dbms'); ?></th> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
269 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
270 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
271 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
272 |
<td><?php echo $lang->get('sysreqs_req_mysql'); ?></td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
273 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
274 |
if ( $req_mysql ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
275 |
echo '<td class="good">' . $lang->get('sysreqs_req_supported') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
276 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
277 |
echo '<td class="bad">' . $lang->get('sysreqs_req_notfound') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
278 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
279 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
280 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
281 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
282 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
283 |
<td><?php echo $lang->get('sysreqs_req_postgresql'); ?></td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
284 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
285 |
if ( $req_pgsql ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
286 |
echo '<td class="good">' . $lang->get('sysreqs_req_supported') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
287 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
288 |
echo '<td class="bad">' . $lang->get('sysreqs_req_notfound') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
289 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
290 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
291 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
292 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
293 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
294 |
<th colspan="2"><?php echo $lang->get('sysreqs_heading_files'); ?></th> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
295 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
296 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
297 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
298 |
<td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
299 |
<?php echo $lang->get('sysreqs_req_config_writable'); ?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
300 |
</td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
301 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
302 |
if ( $req_config_w ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
303 |
echo '<td class="good">' . $lang->get('sysreqs_req_writable') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
304 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
305 |
echo '<td class="bad">' . $lang->get('sysreqs_req_unwritable') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
306 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
307 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
308 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
309 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
310 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
311 |
<td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
312 |
<?php echo $lang->get('sysreqs_req_htaccess_writable'); ?><br /> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
313 |
<small><?php echo $lang->get('sysreqs_req_hint_htaccess_writable'); ?></small> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
314 |
</td> |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
315 |
<?php |
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
316 |
if ( $req_htaccess_w ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
317 |
echo '<td class="good">' . $lang->get('sysreqs_req_writable') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
318 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
319 |
echo '<td class="bad">' . $lang->get('sysreqs_req_unwritable') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
320 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
321 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
322 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
323 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
324 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
325 |
<td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
326 |
<?php echo $lang->get('sysreqs_req_files_writable'); ?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
327 |
</td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
328 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
329 |
if ( $req_files_w ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
330 |
echo '<td class="good">' . $lang->get('sysreqs_req_writable') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
331 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
332 |
echo '<td class="bad">' . $lang->get('sysreqs_req_unwritable') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
333 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
334 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
335 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
336 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
337 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
338 |
<td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
339 |
<?php echo $lang->get('sysreqs_req_cache_writable'); ?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
340 |
</td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
341 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
342 |
if ( $req_cache_w ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
343 |
echo '<td class="good">' . $lang->get('sysreqs_req_writable') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
344 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
345 |
echo '<td class="bad">' . $lang->get('sysreqs_req_unwritable') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
346 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
347 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
348 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
349 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
350 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
351 |
<th colspan="2"><?php echo $lang->get('sysreqs_heading_images'); ?></th> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
352 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
353 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
354 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
355 |
<td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
356 |
<?php echo $lang->get('sysreqs_req_gd2'); ?><br /> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
357 |
<small><?php echo $lang->get('sysreqs_req_hint_gd2'); ?></small> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
358 |
</td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
359 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
360 |
if ( $req_gd ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
361 |
echo '<td class="good">' . $lang->get('sysreqs_req_supported') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
362 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
363 |
echo '<td class="bad">' . $lang->get('sysreqs_req_notfound') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
364 |
endif; |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
365 |
?> |
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
366 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
367 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
368 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
369 |
<td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
370 |
<?php echo $lang->get('sysreqs_req_imagemagick'); ?><br /> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
371 |
<small><?php echo $lang->get('sysreqs_req_hint_imagemagick'); ?></small> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
372 |
</td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
373 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
374 |
if ( $req_imagick ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
375 |
echo '<td class="good">' . $lang->get('sysreqs_req_found') . ' <small>(' . htmlspecialchars($req_imagick) . ')</small></td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
376 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
377 |
echo '<td class="bad">' . $lang->get('sysreqs_req_notfound') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
378 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
379 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
380 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
381 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
382 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
383 |
<th colspan="2"><?php echo $lang->get('sysreqs_heading_crypto'); ?></th> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
384 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
385 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
386 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
387 |
<td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
388 |
<?php echo $lang->get('sysreqs_req_gmp'); ?><br /> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
389 |
<small><?php echo $lang->get('sysreqs_req_hint_gmp'); ?></small> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
390 |
</td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
391 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
392 |
if ( $req_gmp ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
393 |
echo '<td class="good">' . $lang->get('sysreqs_req_supported') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
394 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
395 |
echo '<td class="bad">' . $lang->get('sysreqs_req_notfound') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
396 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
397 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
398 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
399 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
400 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
401 |
<td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
402 |
<?php echo $lang->get('sysreqs_req_bigint'); ?><br /> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
403 |
<small><?php echo $lang->get('sysreqs_req_hint_bigint'); ?></small> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
404 |
</td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
405 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
406 |
if ( $req_bigint ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
407 |
echo '<td class="good">' . $lang->get('sysreqs_req_supported') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
408 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
409 |
echo '<td class="bad">' . $lang->get('sysreqs_req_notfound') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
410 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
411 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
412 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
413 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
414 |
<tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
415 |
<td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
416 |
<?php echo $lang->get('sysreqs_req_bcmath'); ?><br /> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
417 |
<small><?php echo $lang->get('sysreqs_req_hint_bcmath'); ?></small> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
418 |
</td> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
419 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
420 |
if ( $req_bcmath ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
421 |
echo '<td class="good">' . $lang->get('sysreqs_req_supported') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
422 |
else: |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
423 |
echo '<td class="bad">' . $lang->get('sysreqs_req_notfound') . '</td>'; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
424 |
endif; |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
425 |
?> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
426 |
</tr> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
427 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
428 |
</table> |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
429 |
|
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
430 |
<?php |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
431 |
if ( !$failed ): |
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
432 |
?> |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
433 |
<table border="0"> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
434 |
<tr> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
435 |
<td> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
436 |
<input type="submit" value="<?php echo $lang->get('meta_btn_continue'); ?>" /> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
437 |
</td> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
438 |
<td> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
439 |
<p> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
440 |
<span style="font-weight: bold;"><?php echo $lang->get('meta_lbl_before_continue'); ?></span><br /> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
441 |
• <?php echo $lang->get('sysreqs_objective_scalebacks'); ?><br /> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
442 |
• <?php echo $lang->get('license_objective_have_db_info'); ?> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
443 |
</p> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
444 |
</td> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
445 |
</tr> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
446 |
</table> |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
447 |
<?php |
851
b98798f6572d
Redesigned installer sysreqs page to cover more features, be more comprehensive, and look better
Dan
parents:
801
diff
changeset
|
448 |
endif; |
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
diff
changeset
|
449 |
?> |
852 | 450 |
</form> |