Diff for Metafox/subst.inc.php between version 1.55 and 1.56
| version 1.55, 2013/06/24 09:38:11 |
version 1.56, 2013/06/24 10:02:05 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/subst.inc.php,v 1.54 2012-10-09 12:35:23 igor Exp $ */ |
/* $Platon: Metafox/subst.inc.php,v 1.55 2013-06-24 09:38:11 igor Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'error.inc.php'; |
require_once 'error.inc.php'; |
| Line 64 switch ($ezin_cfg['https_admin']) { |
|
| Line 64 switch ($ezin_cfg['https_admin']) { |
|
| } |
} |
| |
|
| if ($ezin_cgi['output'] == 'admin' |
if ($ezin_cgi['output'] == 'admin' |
| && $https_admin_redirect) |
&& $https_admin_redirect |
| |
&& $_SERVER['SERVER_PORT'] != 443) |
| { |
{ |
| $socket = @fsockopen('ssl://'.$_SERVER['HTTP_HOST'], 443); |
$socket = @fsockopen('ssl://'.$_SERVER['HTTP_HOST'], 443); |
| if (is_resource($socket)) { |
if (is_resource($socket)) { |
Platon Group <platon@platon.org> http://platon.org/
|
|