use require_once for minifier
This commit is contained in:
parent
87721123b7
commit
3684074387
|
@ -98,7 +98,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
require({cache:{}});
|
require({cache:{}});
|
||||||
<?php
|
<?php
|
||||||
require 'lib/jshrink/Minifier.php';
|
require_once 'lib/jshrink/Minifier.php';
|
||||||
|
|
||||||
print get_minified_js(array("tt-rss",
|
print get_minified_js(array("tt-rss",
|
||||||
"functions", "feedlist", "viewfeed", "FeedTree", "PluginHost"));
|
"functions", "feedlist", "viewfeed", "FeedTree", "PluginHost"));
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
require({cache:{}});
|
require({cache:{}});
|
||||||
<?php
|
<?php
|
||||||
require 'lib/jshrink/Minifier.php';
|
require_once 'lib/jshrink/Minifier.php';
|
||||||
|
|
||||||
foreach (PluginHost::getInstance()->get_plugins() as $n => $p) {
|
foreach (PluginHost::getInstance()->get_plugins() as $n => $p) {
|
||||||
if (method_exists($p, "get_prefs_js")) {
|
if (method_exists($p, "get_prefs_js")) {
|
||||||
|
|
Loading…
Reference in New Issue