mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Add to r12758, Simplify member module SSL Action registration.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12760 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dca5a41d30
commit
ce00b57123
1 changed files with 3 additions and 0 deletions
|
|
@ -1856,6 +1856,7 @@ class Context
|
|||
|
||||
if(!isset($self->ssl_actions[$action]))
|
||||
{
|
||||
$self->ssl_actions[$action] = 1;
|
||||
$sslActionCacheString = sprintf('$sslActions[\'%s\'] = 1;', $action);
|
||||
FileHandler::writeFile($self->sslActionCacheFile, $sslActionCacheString, 'a');
|
||||
}
|
||||
|
|
@ -1873,6 +1874,7 @@ class Context
|
|||
|
||||
if(!is_readable($self->sslActionCacheFile))
|
||||
{
|
||||
unset($self->ssl_actions);
|
||||
$buff = '<?php if(!defined("__XE__"))exit;';
|
||||
FileHandler::writeFile($self->sslActionCacheFile, $buff);
|
||||
}
|
||||
|
|
@ -1881,6 +1883,7 @@ class Context
|
|||
{
|
||||
if(!isset($self->ssl_actions[$action]))
|
||||
{
|
||||
$self->ssl_actions[$action] = 1;
|
||||
$sslActionCacheString = sprintf('$sslActions[\'%s\'] = 1;', $action);
|
||||
FileHandler::writeFile($self->sslActionCacheFile, $sslActionCacheString, 'a');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue