Development

#3425 (sfProcessCache - eaccelerator wrong function to check)

You must first sign up to be able to contribute.

Ticket #3425 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

sfProcessCache - eaccelerator wrong function to check

Reported by: adrive Assigned to: fabien
Priority: major Milestone: 1.0.14
Component: cache Version: 1.0.13
Keywords: Cc:
Qualification: Ready for core team

Description

I found that sfProcessCache is checking for wrong function to detect whether eaccelerator should be used.

ecacher_put is not an eaccelerator function. Eaccelerator uses eaccelerator_put to put the data into the cache.

Line 64 in sfProcessCache should be

      elseif (function_exists('eaccelerator_put'))

Change History

04/28/08 11:19:49 changed by fabien

  • milestone set to 1.0.14.

04/28/08 11:32:25 changed by FabianLange

04/28/08 11:39:52 changed by FabianLange

  • status changed from new to closed.
  • resolution set to fixed.
  • qualification changed from Unreviewed to Ready for core team.

fixed in r8651 for 1.0. In sf 1.1 this was ok already in sfEAcceleratorCache.class.php