APC CSS and JS check. #16

Merged
merged 2 commits into from Aug 21, 2012

Conversation

Projects
None yet
4 participants
@msonnabaum
Contributor

msonnabaum commented Mar 24, 2012

Cherry-picked this straight from drops-7. Would like to see it in the main pressflow repo.

@pwolanin

This comment has been minimized.

Show comment
Hide comment
@pwolanin

pwolanin Mar 26, 2012

Shouldn't there be a function_exists() call to make sure the APC functions are present?

Shouldn't there be a function_exists() call to make sure the APC functions are present?

This comment has been minimized.

Show comment
Hide comment
@pwolanin

pwolanin Mar 26, 2012

e.g.:

if (!function_exists('apc_exists')) { 
   return file_exists($uri);
}

e.g.:

if (!function_exists('apc_exists')) { 
   return file_exists($uri);
}

This comment has been minimized.

Show comment
Hide comment
@davidstrauss

davidstrauss Mar 26, 2012

@msonnabaum

This comment has been minimized.

Show comment
Hide comment
@msonnabaum

msonnabaum Mar 26, 2012

Contributor

This should now work when apc isn't available and on older versions of apc.

Contributor

msonnabaum commented Mar 26, 2012

This should now work when apc isn't available and on older versions of apc.

elliotttf added a commit that referenced this pull request Aug 21, 2012

@elliotttf elliotttf merged commit 1ee00f6 into pressflow:master Aug 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment