diff --git a/include/serve.php b/include/serve.php index b900669..62adef1 100644 --- a/include/serve.php +++ b/include/serve.php @@ -52,7 +52,7 @@ // Invalidate by path. if ( substr( $flag, 0, 1 ) == '/' ) { - if ( substr( $meta['path'], 0, strlen( $flag ) ) ) { + if ( substr( $meta['path'], 0, strlen( $flag ) ) === $flag ) { header( 'X-Cache: expired' ); fclose( $f ); return;