1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Fixes #4200 - check theme version is compatible and disable installation if necessary.

This commit is contained in:
Cameron
2020-07-01 13:00:34 -07:00
parent 5f58f8f59d
commit 582bd3f72c
5 changed files with 52 additions and 6 deletions

View File

@@ -5374,6 +5374,10 @@ return;
return preg_replace('/[^\w\d_\.-]/',"-",$text);
}
if($type === 'version')
{
return preg_replace('/[^\d_\.]/',"",$text);
}
if($validate == false)
{