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)
367
367
368
368
static int filename_is_in_file_cache (zend_string * filename )
369
369
{
370
- zend_string * realpath ;
371
-
372
- realpath = zend_resolve_path (filename );
373
-
370
+ zend_string * realpath = zend_resolve_path (filename );
374
371
if (!realpath ) {
375
372
return 0 ;
376
373
}
377
374
378
375
zend_file_handle handle ;
379
-
380
376
zend_stream_init_filename_ex (& handle , filename );
381
377
handle .opened_path = realpath ;
382
378
383
379
zend_persistent_script * result = zend_file_cache_script_load_ex (& handle , true);
384
-
385
380
zend_destroy_file_handle (& handle );
386
381
387
382
return result != NULL ;
388
383
}
389
384
390
-
391
385
static int accel_file_in_cache (INTERNAL_FUNCTION_PARAMETERS )
392
386
{
393
387
if (ZEND_NUM_ARGS () == 1 ) {
You can’t perform that action at this time.
0 commit comments