Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Con Tassios

By: a guest on Dec 1st, 2009  |  syntax: None  |  size: 0.74 KB  |  hits: 25,022  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 = '/';