Browse Source

gerpage : supprime un test inutile

12_dev
fredtempez 5 months ago
parent
commit
aff2dce496
  1. 1
      core/core.php

1
core/core.php

@ -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…
Cancel
Save