summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorrodneyrehm <rodneyrehm@localhost>2011-09-20 17:33:15 +0000
committerrodneyrehm <rodneyrehm@localhost>2011-09-20 17:33:15 +0000
commita3dc61542d63d9c237259f757f48a115e2603dc5 (patch)
tree5e1ca23ad5ec388f27c100c67c8748ce986edbcd /demo
parentbff28f38a497d93e25c529f73fd3421ea01eed14 (diff)
downloadsmarty-a3dc61542d63d9c237259f757f48a115e2603dc5.tar.gz
smarty-a3dc61542d63d9c237259f757f48a115e2603dc5.tar.bz2
smarty-a3dc61542d63d9c237259f757f48a115e2603dc5.zip
apc.enable_cli must be activated for the APC test to execute in unit tests (which are run from CLI) duh!
Diffstat (limited to 'demo')
-rw-r--r--demo/plugins/cacheresource.apc.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/demo/plugins/cacheresource.apc.php b/demo/plugins/cacheresource.apc.php
index 5403f3bc..00ba5981 100644
--- a/demo/plugins/cacheresource.apc.php
+++ b/demo/plugins/cacheresource.apc.php
@@ -17,12 +17,6 @@ class Smarty_CacheResource_Apc extends Smarty_CacheResource_KeyValueStore {
if(!function_exists('apc_cache_info')) {
throw new Exception('APC Template Caching Error: APC is not installed');
}
-
- apc_store(array('foo' => 'bar'));
- $t = apc_fetch(array('foo'));
- if (!$t || $t['foo'] != 'bar') {
- throw new Exception('APC Template Caching Error: APC is not working properly');
- }
}
/**