From 4e3a6403336698e2c28f8084763143511ed08550 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Tue, 20 Dec 2016 23:37:21 +0100 Subject: [PATCH] fix and gitignore --- .gitignore | 2 ++ _define.php | 2 +- _public.php | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d9e0171 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +shConcatened*.js +shThemeConcatened*.css diff --git a/_define.php b/_define.php index bc3cdbe..0c91d4a 100755 --- a/_define.php +++ b/_define.php @@ -26,7 +26,7 @@ $this->registerModule( /* Name */ "YASH Fork", /* Description*/ "Fork of Yet Another Syntax Highlighter. Modification: Juste one javascript called on public pages for yash3", /* Author */ "Forked and modified by Gnieark, origin Pep and contributors", - /* Version */ '0.7', + /* Version */ '0.7.1', array( /* Dependencies */ 'requires' => array(array('core','2.9')), /* Permissions */ 'permissions' => 'contentadmin', diff --git a/_public.php b/_public.php index 7623973..51af879 100755 --- a/_public.php +++ b/_public.php @@ -51,7 +51,8 @@ class dcYASH $core->blog->settings->addNamespace('yash3'); if ($core->blog->settings->yash3->yash3_active){ - echo dcUtils::jsLoad($core->blog->getPF('yash3/syntaxhighlighter/js/shConcatened.js')); + echo dcUtils::jsLoad($core->blog->getPF('yash3/syntaxhighlighter/js/shConcatened'. + $core->blog->settings->yash3->yash3_concat_version.'.js')); } } }