Version 4.7.23

This commit is contained in:
Neo committed 2025-12-19 16:21:27 -08:00
1 parent 7124a02564
commit 25ddeb65d6
1791 files changed
+76990 -44452

No files matched your search

+7 -1
View File
@@ -87,12 +87,18 @@ class _Template extends \IPS\Theme\Template
try
{
$f = fopen( static::$file, 'r' );
if( $f === FALSE )
{
throw new \RuntimeException();
}
flock( $f, LOCK_SH );
include_once( static::$file );
flock( $f, LOCK_UN );
fclose( $f );
}
catch( \ParseError $e )
catch( \ParseError | \RuntimeException )
{
@unlink( static::$file );