mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-14 12:52:08 +02:00
[ticket/16080] Change location as it should have been.
PHPBB3-16080
This commit is contained in:
parent
ebd958c728
commit
1de4a65e58
@ -1123,7 +1123,13 @@ class acp_styles
|
||||
*/
|
||||
protected function read_style_cfg($dir)
|
||||
{
|
||||
if (!file_exists($this->styles_path . $dir . '/style.cfg'))
|
||||
{
|
||||
trigger_error('NO_STYLE_DATA', E_USER_ERROR);
|
||||
}
|
||||
|
||||
static $required = array('name', 'phpbb_version', 'copyright');
|
||||
|
||||
$cfg = parse_cfg_file($this->styles_path . $dir . '/style.cfg');
|
||||
|
||||
// Check if it is a valid file
|
||||
|
@ -2734,11 +2734,6 @@ function build_hidden_fields($field_ary, $specialchar = false, $stripslashes = f
|
||||
*/
|
||||
function parse_cfg_file($filename, $lines = false)
|
||||
{
|
||||
if (!file_exists($filename))
|
||||
{
|
||||
trigger_error('NO_STYLE_DATA', E_USER_ERROR);
|
||||
}
|
||||
|
||||
$parsed_items = array();
|
||||
|
||||
if ($lines === false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user