From 54f073ec0e3697a78bf903690c1a45965245dc87 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 16 Dec 2016 19:28:51 +0100 Subject: [PATCH] fix php --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 977a5d1..eab1c7a 100755 --- a/index.php +++ b/index.php @@ -165,10 +165,10 @@ if (!empty($_POST['saveconfig'])) { } //concat js files and minify them $fContent = yash3_minify_js( - get_file_content(dirname(__FILE__)."/syntaxhighlighter/js/shCore.js"). - get_file_content(dirname(__FILE__)."/syntaxhighlighter/js/shAutoloader.js"). + file_get_contents(dirname(__FILE__)."/syntaxhighlighter/js/shCore.js"). + file_get_contents(dirname(__FILE__)."/syntaxhighlighter/js/shAutoloader.js"). dcUtils::jsVar('yash_path',$core->blog->getPF('yash/syntaxhighlighter/js/')). - get_file_content(dirname(__FILE__)."/js/public.js") + file_get_contents(dirname(__FILE__)."/js/public.js") ); //write the fiule file_put_contents(dirname(__FILE__)."/syntaxhighlighter/js/shConcatened.js",$fContent);