| User | Post |
|
2:16 pm March 4, 2009
| Uli
Member
| | | |
|
| posts 6 |
|
|
Why is the cache disabled in safemode? e.g. when running php as fastcgi every file gets created under the user php is running on. So no "ghost"-files. Make it optional, i want to decide that!
Thanks!
|
|
|
12:34 pm March 5, 2009
| Kevin
Admin
| | | |
|
| posts 1385 |
|
|
Role Scoper's persistent cache is a port of WordPress 2.3's cache.php (cache file storage was removed from it in WP 2.5). I just carried the safe_mode check over from the WP code, and have never scrutinized it.
If you want to pursue this, edit your plugins/role-scoper/hardway/cache-persistent.php to comment out all the code that pertains to ini_get('safe_mode'). Then let me know how it goes and if all is well I will make a change in the RS code.
|
|
|
4:23 pm March 5, 2009
| Uli
Member
| | | |
|
| posts 6 |
|
|
That is how i got it circumvented. I'm using it right now and it works just fine on my host.
I'm running apache2.2 with mod_fcgid and php5.
So perhaps you now can make it optional
Thank you very much for all your work!
|
|
|
10:43 am March 9, 2009
| Kevin
Admin
| | | |
|
| posts 1385 |
|
|
The next version of Role Scoper will skip the safe_mode check if you put
define ( 'SCOPER_SAFE_MODE_CACHE', true );
in wp-config.php
|
|
|
11:03 am March 9, 2009
| Uli
Member
| | | |
|
| posts 6 |
|
|
Great! Thank you very much!
|
|