Skip to content

Commit de962dd

Browse files
committed
fix
1 parent bce392a commit de962dd

File tree

8 files changed

+24
-0
lines changed

8 files changed

+24
-0
lines changed

views/articles/tmpl/default.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
?>
55
<?php
66

7+
if (JFolder::exists(JPATH_ROOT . '/components/com_zoo')) {
78
$checkJBZooSEF = JBModelConfig::model()->getGroup('config.sef');
89
$JBZooSEFenabled = $checkJBZooSEF->get('enabled');
910
$JBZooSEFfix_item = $checkJBZooSEF->get('fix_item');
@@ -17,6 +18,8 @@
1718
$JBZooSEFparse_priority = $checkJBZooSEF->get('parse_priority');
1819
$JBZooSEFcanonical_redirect = $checkJBZooSEF->get('canonical_redirect');
1920
$JBZooSEFzoo_route_caching = $checkJBZooSEF->get('zoo_route_caching');
21+
}
22+
2023

2124
require_once JPATH_ADMINISTRATOR . '/components/com_myjbzoostat/elements/paramsetc.php';
2225
if (empty($threshold)) {

views/auhorsprofile/tmpl/default.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
defined( '_JEXEC' ) or die; // No direct access
44
// dump($_POST,0,'post');
55

6+
if (JFolder::exists(JPATH_ROOT . '/components/com_zoo')) {
67
$checkJBZooSEF = JBModelConfig::model()->getGroup('config.sef');
78
$JBZooSEFenabled = $checkJBZooSEF->get('enabled');
89
$JBZooSEFfix_item = $checkJBZooSEF->get('fix_item');
@@ -16,6 +17,8 @@
1617
$JBZooSEFparse_priority = $checkJBZooSEF->get('parse_priority');
1718
$JBZooSEFcanonical_redirect = $checkJBZooSEF->get('canonical_redirect');
1819
$JBZooSEFzoo_route_caching = $checkJBZooSEF->get('zoo_route_caching');
20+
}
21+
1922

2023

2124
?>

views/autors/tmpl/default.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
?>
55
<?php
66

7+
if (JFolder::exists(JPATH_ROOT . '/components/com_zoo')) {
78
$checkJBZooSEF = JBModelConfig::model()->getGroup('config.sef');
89
$JBZooSEFenabled = $checkJBZooSEF->get('enabled');
910
$JBZooSEFfix_item = $checkJBZooSEF->get('fix_item');
@@ -17,6 +18,8 @@
1718
$JBZooSEFparse_priority = $checkJBZooSEF->get('parse_priority');
1819
$JBZooSEFcanonical_redirect = $checkJBZooSEF->get('canonical_redirect');
1920
$JBZooSEFzoo_route_caching = $checkJBZooSEF->get('zoo_route_caching');
21+
}
22+
2023

2124

2225

views/disqus/tmpl/default.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
/** @var $this MyjbzoostatViewAutors */
55
defined( '_JEXEC' ) or die; // No direct access
66

7+
if (JFolder::exists(JPATH_ROOT . '/components/com_zoo')) {
78
$checkJBZooSEF = JBModelConfig::model()->getGroup('config.sef');
89
$JBZooSEFenabled = $checkJBZooSEF->get('enabled');
910
$JBZooSEFfix_item = $checkJBZooSEF->get('fix_item');
@@ -17,6 +18,8 @@
1718
$JBZooSEFparse_priority = $checkJBZooSEF->get('parse_priority');
1819
$JBZooSEFcanonical_redirect = $checkJBZooSEF->get('canonical_redirect');
1920
$JBZooSEFzoo_route_caching = $checkJBZooSEF->get('zoo_route_caching');
21+
}
22+
2023

2124

2225
preg_match("/\d{1,}.\d{1,}.\d{1,}/", PHP_VERSION, $MyPHPver);

views/orders/tmpl/default.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
$threshold = '2';
99
}
1010

11+
if (JFolder::exists(JPATH_ROOT . '/components/com_zoo')) {
1112
$checkJBZooSEF = JBModelConfig::model()->getGroup('config.sef');
1213
$JBZooSEFenabled = $checkJBZooSEF->get('enabled');
1314
$JBZooSEFfix_item = $checkJBZooSEF->get('fix_item');
@@ -21,6 +22,8 @@
2122
$JBZooSEFparse_priority = $checkJBZooSEF->get('parse_priority');
2223
$JBZooSEFcanonical_redirect = $checkJBZooSEF->get('canonical_redirect');
2324
$JBZooSEFzoo_route_caching = $checkJBZooSEF->get('zoo_route_caching');
25+
}
26+
2427

2528

2629
$document->addStyleSheet(JUri::root().'administrator/components/com_myjbzoostat/assets/css/sort.css');

views/report/tmpl/default.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22
defined( '_JEXEC' ) or die;
33

4+
if (JFolder::exists(JPATH_ROOT . '/components/com_zoo')) {
45
$checkJBZooSEF = JBModelConfig::model()->getGroup('config.sef');
56
$JBZooSEFenabled = $checkJBZooSEF->get('enabled');
67
$JBZooSEFfix_item = $checkJBZooSEF->get('fix_item');
@@ -14,6 +15,8 @@
1415
$JBZooSEFparse_priority = $checkJBZooSEF->get('parse_priority');
1516
$JBZooSEFcanonical_redirect = $checkJBZooSEF->get('canonical_redirect');
1617
$JBZooSEFzoo_route_caching = $checkJBZooSEF->get('zoo_route_caching');
18+
}
19+
1720

1821

1922

views/reportauthors/tmpl/default.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
?>
55
<?php
66

7+
if (JFolder::exists(JPATH_ROOT . '/components/com_zoo')) {
78
$checkJBZooSEF = JBModelConfig::model()->getGroup('config.sef');
89
$JBZooSEFenabled = $checkJBZooSEF->get('enabled');
910
$JBZooSEFfix_item = $checkJBZooSEF->get('fix_item');
@@ -17,6 +18,8 @@
1718
$JBZooSEFparse_priority = $checkJBZooSEF->get('parse_priority');
1819
$JBZooSEFcanonical_redirect = $checkJBZooSEF->get('canonical_redirect');
1920
$JBZooSEFzoo_route_caching = $checkJBZooSEF->get('zoo_route_caching');
21+
}
22+
2023

2124

2225
require_once JPATH_ADMINISTRATOR . '/components/com_myjbzoostat/elements/paramsetc.php';

views/tags/tmpl/default.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
?>
55
<?php
66

7+
if (JFolder::exists(JPATH_ROOT . '/components/com_zoo')) {
78
$checkJBZooSEF = JBModelConfig::model()->getGroup('config.sef');
89
$JBZooSEFenabled = $checkJBZooSEF->get('enabled');
910
$JBZooSEFfix_item = $checkJBZooSEF->get('fix_item');
@@ -17,6 +18,8 @@
1718
$JBZooSEFparse_priority = $checkJBZooSEF->get('parse_priority');
1819
$JBZooSEFcanonical_redirect = $checkJBZooSEF->get('canonical_redirect');
1920
$JBZooSEFzoo_route_caching = $checkJBZooSEF->get('zoo_route_caching');
21+
}
22+
2023

2124

2225

0 commit comments

Comments
 (0)