Apc path canonicalization patch

[email protected] (Gopal V) Fri, 16 Mar 2007 12:11:28 +0530
Newsgroups php.apc.dev
Message-ID <[email protected]>
Hi,

It is really annoying to have to change each and every file in
all libs you use to have absolute include paths, so I've got a
quick patch to "work around" that. I've so far tried not to
cache anything differently from what Zend throws out, so
anybody care to comment on this patch ?

http://t3.dotgnu.info/code/apc-path-canonicalize.patch

It converts include ("x.php") into include("/..fullpath/x.php")
before caching the opcodes if apc.stat = 0. Put it into the
"will be checked in eventually" optimizer or just wrap it
with yet another ini check ?

Cheers,
Gopal
-- 
The difference between insanity and genius is measured by success