mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Check for required eAccelerator functions #54465
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10309 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
25545c06b2
commit
3665540ffb
3 changed files with 7 additions and 0 deletions
|
@ -107,6 +107,7 @@
|
||||||
<li>[Fix] Correctly take post time instead of topic time for the overall forum feed statistics row. (Bug #55005)</li>
|
<li>[Fix] Correctly take post time instead of topic time for the overall forum feed statistics row. (Bug #55005)</li>
|
||||||
<li>[Fix] Posting errors with CAPTCHAs using user::add_lang(). (Bug #55245)</li>
|
<li>[Fix] Posting errors with CAPTCHAs using user::add_lang(). (Bug #55245)</li>
|
||||||
<li>[Fix] Use memcache::replace() instead of memcache::set() for existing keys to prevent problems.</li>
|
<li>[Fix] Use memcache::replace() instead of memcache::set() for existing keys to prevent problems.</li>
|
||||||
|
<li>[Fix] Check for required functions in eAccelerator. (Bug #54465).</li>
|
||||||
<li>[Change] Send time of last item instead of current time in ATOM Feeds. (Bug #53305)</li>
|
<li>[Change] Send time of last item instead of current time in ATOM Feeds. (Bug #53305)</li>
|
||||||
<li>[Change] Use em dash instead of hyphen/minus as separator in ATOM Feeds item statistics. (Bug #53565)</li>
|
<li>[Change] Use em dash instead of hyphen/minus as separator in ATOM Feeds item statistics. (Bug #53565)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -30,6 +30,7 @@ if (!class_exists('acm_memory'))
|
||||||
class acm extends acm_memory
|
class acm extends acm_memory
|
||||||
{
|
{
|
||||||
var $extension = 'eaccelerator';
|
var $extension = 'eaccelerator';
|
||||||
|
var $function = 'eaccelerator_get';
|
||||||
|
|
||||||
var $serialize_header = '#phpbb-serialized#';
|
var $serialize_header = '#phpbb-serialized#';
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,11 @@ class acm_memory
|
||||||
|
|
||||||
trigger_error("Could not find required extension [{$this->extension}] for the ACM module $acm_type.", E_USER_ERROR);
|
trigger_error("Could not find required extension [{$this->extension}] for the ACM module $acm_type.", E_USER_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($this->function) && !function_exists($this->function))
|
||||||
|
{
|
||||||
|
trigger_error("The required function [{$this->function}] is not available for the ACM module $acm_type.", E_USER_ERROR);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue