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 @@ -368,27 +368,21 @@ static int filename_is_in_cache(zend_string *filename)
368368
369369static int filename_is_in_file_cache (zend_string * filename )
370370{
371- zend_string * realpath ;
372-
373- realpath = zend_resolve_path (filename );
374-
371+ zend_string * realpath = zend_resolve_path (filename );
375372 if (!realpath ) {
376373 return 0 ;
377374 }
378375
379376 zend_file_handle handle ;
380-
381377 zend_stream_init_filename_ex (& handle , filename );
382378 handle .opened_path = realpath ;
383379
384380 zend_persistent_script * result = zend_file_cache_script_load_ex (& handle , true);
385-
386381 zend_destroy_file_handle (& handle );
387382
388383 return result != NULL ;
389384}
390385
391-
392386static int accel_file_in_cache (INTERNAL_FUNCTION_PARAMETERS )
393387{
394388 if (ZEND_NUM_ARGS () == 1 ) {
You can’t perform that action at this time.
0 commit comments