Project

General

Profile

« Previous | Next » 

Revision 1316

Added by Dietmar over 14 years ago

Ticket #978 Add additional PHP 5.2 check to installation
Ticket #979 False PHP 4 requirements in install
Ticket #980 Usebility - Bug in the settings-interface
Ticket #981 typos in backend-theme "argos" in file groups.htt

View differences:

index.php
11 11
 * @platform        WebsiteBaker 2.8.x
12 12
 * @requirements    PHP 4.3.4 and higher
13 13
 * @version      	$Id$
14
 * @filesource		$HeadURL:  $
15
 * @lastmodified    $Date: $
14
 * @filesource		$HeadURL$
15
 * @lastmodified    $Date$
16 16
 *
17 17
 */
18 18

  
......
90 90
</head>
91 91
<body>
92 92

  
93
<table cellpadding="0" cellspacing="0" border="0" width="750" align="center">
93
<table cellpadding="0" cellspacing="0" border="0" width="850" align="center">
94 94
<tr>
95 95
	<td width="60" valign="top">
96 96
		<img src="../templates/wb_theme/images/logo.png" alt="Logo" />
......
108 108
<input type="hidden" name="password_fieldname" value="admin_password" />
109 109
<input type="hidden" name="remember" id="remember" value="true" />
110 110

  
111
<table cellpadding="0" cellspacing="0" border="0" width="750" align="center" style="margin-top: 10px;">
111
<table cellpadding="0" cellspacing="0" border="0" width="850" align="center" style="margin-top: 10px;">
112 112
<tr>
113 113
	<td class="content">
114 114
	
......
131 131
		</tr>
132 132
		<?php } ?>
133 133
		<tr>
134
			<td width="160" style="color: #666666;">PHP Version > 4.1.0</td>
134
			<td width="160" style="color: #666666;">PHP Version > 4.4.9</td>
135 135
			<td width="60">
136 136
				<?php
137
				$phpversion = substr(PHP_VERSION, 0, 6);
138
				if($phpversion > 4.1) {
137
			   if (version_compare(PHP_VERSION, '4.4.9', '>='))
138
			   {
139 139
					?><font class="good">Yes</font><?php
140 140
				} else {
141 141
					?><font class="bad">No</font><?php
......
151 151
					?><font class="good">Disabled</font><?php
152 152
				} else {
153 153
					?><font class="bad">Enabled</font><?php
154
				}	
154
				}
155 155
				?>
156 156
			</td>
157 157
		</tr>
......
167 167
				?>
168 168
			</td>
169 169
			<td colspan="4">&nbsp;</td>
170
        <?php if (version_compare(PHP_VERSION, '5.2.1', '<')){ ?>
171
		<tr>
172
        	<td colspan="7">
173
            <div class="warning">
174
			<p>Your current PHP Version is: <?php print PHP_VERSION;  ?></p><h4>Please upgrade your Hosting to PHP Version 5.2.1 or higher</h4>
175
			<p>PHP 4 is no longer under development nor will any security updates be released.</p>
176

  
177
			</div>
178
			</td>
170 179
		</tr>
180
        <?php } ?>
181
		</tr>
171 182
		<?php if($e_adc) { ?>
172 183
		<tr>
173 184
			<td colspan="6" style="font-size: 10px;" class="bad">Please note: AddDefaultCharset is set to <?php echo $e_adc;?> in apache.conf.<br />If you have to use umlauts (e.g. &auml; &aacute;) please change this to Off. - Or use <?php echo $e_adc;?> inside website baker, too.</td>
174 185

  

Also available in: Unified diff