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:
@@ -5374,6 +5374,10 @@ return;
|
||||
return preg_replace('/[^\w\d_\.-]/',"-",$text);
|
||||
}
|
||||
|
||||
if($type === 'version')
|
||||
{
|
||||
return preg_replace('/[^\d_\.]/',"",$text);
|
||||
}
|
||||
|
||||
if($validate == false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user