Advertisement
Guest User

Con Tassios

a guest
Dec 1st, 2009
25,418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. --- php_ini.c-orig 2009-07-06 16:04:43.000000000 +1000
  2. +++ php_ini.c 2009-07-06 15:58:32.000000000 +1000
  3. @@ -795,7 +795,7 @@
  4. while ((ptr = strchr(ptr, DEFAULT_SLASH)) != NULL) {
  5. *ptr = 0;
  6. /* Search for source array matching the path from configuration_hash */
  7. - if (zend_hash_find(&configuration_hash, path, path_len, (void **) &tmp) == SUCCESS) {
  8. + if (zend_hash_find(&configuration_hash, path, strlen(path) + 1, (void **) &tmp) == SUCCESS) {
  9. php_ini_activate_config(Z_ARRVAL_P(tmp), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE TSRMLS_CC);
  10. }
  11. *ptr = '/';
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement