openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

commit 63308fcb12f88b397ea138371202fc9c5ce700ad
parent bc9e305badce7460021a965f425571677d41fd7b
Author: Jan Dankert <develop@jandankert.de>
Date:   Sat, 16 Nov 2019 00:47:43 +0100

Fix: YAML-Parser should not load files.

Diffstat:
modules/language/Language.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/language/Language.class.php b/modules/language/Language.class.php @@ -57,7 +57,7 @@ class Language private function getLanguageSource() { - return YAML::parse( $this->srcFile); + return YAML::parse( file_get_contents($this->srcFile) ); }