Changeset 961 for trunk/xcache.c


Ignore:
Timestamp:
2012-07-11T06:16:56+02:00 (2 years ago)
Author:
moo
Message:

revert opt out of included_files handling. still required by require()/include(). make it work for new sandbox handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r960 r961  
    18481848    xc_entry_data_php_t restored_php; 
    18491849    zend_bool catched; 
     1850    zend_uint i; 
     1851 
     1852    /* still needed because in zend_language_scanner.l, require()/include() check file_handle.handle.stream.handle */ 
     1853    i = 1; 
     1854    zend_hash_add(&EG(included_files), stored_entry->entry.name.str.val, stored_entry->entry.name.str.len + 1, (void *)&i, sizeof(int), NULL); 
    18501855 
    18511856    CG(in_compilation)    = 1; 
Note: See TracChangeset for help on using the changeset viewer.