mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fixes #4443 - set default stylesheet scope to 'front' when attribute has been omitted from theme.xml.
This commit is contained in:
parent
9c9dcb5e52
commit
fb3888abc3
@ -1117,7 +1117,7 @@ class e_theme
|
||||
"name" => $val['@attributes']['file'],
|
||||
"info" => $val['@attributes']['name'],
|
||||
"nonadmin" => $notadmin,
|
||||
'scope' => vartrue($val['@attributes']['scope']),
|
||||
'scope' => vartrue($val['@attributes']['scope'], 'front'),
|
||||
'exclude' => vartrue($val['@attributes']['exclude']),
|
||||
'description' => vartrue($val['@attributes']['description']),
|
||||
'thumbnail' => vartrue($val['@attributes']['thumbnail'])
|
||||
|
@ -66,7 +66,7 @@ abstract class E107Base extends Base
|
||||
$this->restoreLocalE107Config();
|
||||
$this->workaroundOldPhpUnitPhpCodeCoverage();
|
||||
}
|
||||
|
||||
/*
|
||||
public function _failed($test, $fail)
|
||||
{
|
||||
parent::_failed($test, $fail);
|
||||
@ -75,7 +75,7 @@ abstract class E107Base extends Base
|
||||
$this->restoreLocalE107Config();
|
||||
$this->workaroundOldPhpUnitPhpCodeCoverage();
|
||||
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
protected function revokeLocalE107Config()
|
||||
|
@ -142,6 +142,14 @@
|
||||
'description' => '',
|
||||
'thumbnail' => '',
|
||||
),
|
||||
'*' => array (
|
||||
'name' => '*',
|
||||
'info' => '*',
|
||||
'nonadmin' => true,
|
||||
'exclude' => '',
|
||||
'description' => '',
|
||||
'thumbnail' => '',
|
||||
),
|
||||
),
|
||||
),
|
||||
5 => array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user