forked from ZwiiCMS-Team/ZwiiCMS
gerpage : supprime un test inutile
This commit is contained in:
parent
2f45c1d0c3
commit
aff2dce496
@ -553,7 +553,6 @@ class common {
|
||||
if (
|
||||
$this->getData(['page', $page, 'content']) !== ''
|
||||
&& file_exists(self::DATA_DIR . $lang . '/content/' . $this->getData(['page', $page, 'content']))
|
||||
&& is_file(self::DATA_DIR . $lang . '/content/' . $this->getData(['page', $page, 'content']))
|
||||
) {
|
||||
return file_get_contents(self::DATA_DIR . $lang . '/content/' . $this->getData(['page', $page, 'content']));
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user