Custom Query (307 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (52 - 54 of 307)

Ticket Resolution Summary Owner Reporter
#85 fixed Small improvement to ShellExample trac processor moo goozbach
Description

I'm loving your ShellExample preprocessor. I found it's shell syntax just a little lacking however

attached is the new version I've created(basicly just a tweak of the regex).

My new version allows for a more flexible prompt to be displayed such as

user@host $

or

root@host #

it also allows for windows cmd.exe style shell prompts as well:

C:\>

or

C:\Documents and Settings\username\> 
#86 fixed Enhance in xcache admin moo safari
Description

Currently, there's no way to unset/delete a var entry (data) in admin interface. Could you consider to add this feature?

#88 fixed [patch] add a hack/option to disable variable cache authentication moo judas_iscariote
Description

as discussed on irc, here is a hack/patch to disable variable cache authentication, not very nice but works for me

ndex: xcache_globals.h
===================================================================
--- xcache_globals.h    (revisión: 366)
+++ xcache_globals.h    (copia de trabajo)
@@ -14,6 +14,7 @@
        xc_stack_t *var_holds;
        time_t request_time;
        long   var_ttl;
+       zend_bool auth_enabled;
 ZEND_END_MODULE_GLOBALS(xcache)
 
 ZEND_EXTERN_MODULE_GLOBALS(xcache)
Index: xcache.c
===================================================================
--- xcache.c    (revisión: 366)
+++ xcache.c    (copia de trabajo)
@@ -1527,20 +1527,23 @@
        char *admin_user = NULL;
        char *admin_pass = NULL;
        HashTable *ht;
-
+
+       /* auth disabled, nothing to do.. */
+       if (!XG(auth_enabled)) {
+               return 1;
+       }
@@ -2334,6 +2343,7 @@
 
        STD_PHP_INI_BOOLEAN("xcache.cacher",                 "1", PHP_INI_ALL,    OnUpdateBool,        cacher,            zend_xcache_globals, xcache_globals)
        STD_PHP_INI_BOOLEAN("xcache.stat",                   "1", PHP_INI_ALL,    OnUpdateBool,        stat,              zend_xcache_globals, xcache_globals)
+       STD_PHP_INI_BOOLEAN("xcache.enable_auth",            "1", PHP_INI_SYSTEM,  OnUpdateBool,        auth_enabled, zend_xcache_globals, xcache_globals)
 #ifdef HAVE_XCACHE_OPTIMIZER
        STD_PHP_INI_BOOLEAN("xcache.optimizer",              "0", PHP_INI_ALL,    OnUpdateBool,        optimizer,         zend_xcache_globals, xcache_globals)
 #endif

cya.

Note: See TracQuery for help on using queries.