File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -367,27 +367,21 @@ static int filename_is_in_cache(zend_string *filename)
367367
368368static int filename_is_in_file_cache (zend_string * filename )
369369{
370- zend_string * realpath ;
371-
372- realpath = zend_resolve_path (filename );
373-
370+ zend_string * realpath = zend_resolve_path (filename );
374371 if (!realpath ) {
375372 return 0 ;
376373 }
377374
378375 zend_file_handle handle ;
379-
380376 zend_stream_init_filename_ex (& handle , filename );
381377 handle .opened_path = realpath ;
382378
383379 zend_persistent_script * result = zend_file_cache_script_load_ex (& handle , true);
384-
385380 zend_destroy_file_handle (& handle );
386381
387382 return result != NULL ;
388383}
389384
390-
391385static int accel_file_in_cache (INTERNAL_FUNCTION_PARAMETERS )
392386{
393387 if (ZEND_NUM_ARGS () == 1 ) {
You can’t perform that action at this time.
0 commit comments