Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
v1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekVolsk committed Mar 14, 2020
1 parent 3e1008f commit 5adb11b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# YtVideo

![Version](https://img.shields.io/badge/VERSION-1.6.0-0366d6.svg?style=for-the-badge)
![Version](https://img.shields.io/badge/VERSION-1.6.1-0366d6.svg?style=for-the-badge)
![Joomla](https://img.shields.io/badge/joomla-3.7+-1A3867.svg?style=for-the-badge)
![Php](https://img.shields.io/badge/php-5.6+-8892BF.svg?style=for-the-badge)

Expand Down
2 changes: 1 addition & 1 deletion README.ru.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# YtVideo

![Version](https://img.shields.io/badge/VERSION-1.6.0-0366d6.svg?style=for-the-badge)
![Version](https://img.shields.io/badge/VERSION-1.6.1-0366d6.svg?style=for-the-badge)
![Joomla](https://img.shields.io/badge/joomla-3.7+-1A3867.svg?style=for-the-badge)
![Php](https://img.shields.io/badge/php-5.6+-8892BF.svg?style=for-the-badge)

Expand Down
6 changes: 3 additions & 3 deletions pkg_ytvideo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<author>Aleksey A. Morozov</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://alekvolsk.pw</authorUrl>
<copyright2019 Aleksey A. Morozov. All right reserved.</copyright>
<copyright2020 Aleksey A. Morozov. All right reserved.</copyright>
<license>GNU General Public License version 3 or later; see http://www.gnu.org/licenses/gpl-3.0.txt</license>
<creationDate>Oktober 2019</creationDate>
<creationDate>March 2020</creationDate>
<packager>Aleksey A. Morozov</packager>
<packagerurl>https://alekvolsk.pw</packagerurl>
<version>1.6.0</version>
<version>1.6.1</version>
<description>PKG_YTVIDEO_DESC</description>
<php_minimum>5.6</php_minimum>
<scriptfile>pkg_script.php</scriptfile>
Expand Down
4 changes: 2 additions & 2 deletions plg_content_ytvideo/ytvideo.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public function onContentPrepare($context, &$article, &$params, $page = 0)
return false;
}

$cachFolder = Path::clean(Factory::getConfig()->get('cache_path', ''));
$cachFolder = is_dir($cachFolder) ? $cachFolder . DIRECTORY_SEPARATOR . 'plg_content_ytvideo' . DIRECTORY_SEPARATOR : '';
$cachFolder = Path::clean(Factory::getConfig()->get('cache_path', JPATH_CACHE));
$cachFolder = $cachFolder . DIRECTORY_SEPARATOR . 'plg_content_ytvideo' . DIRECTORY_SEPARATOR;
if ($cachFolder && !is_dir($cachFolder)) {
JFolder::create($cachFolder, 0755);
}
Expand Down
6 changes: 3 additions & 3 deletions plg_content_ytvideo/ytvideo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<author>Aleksey A. Morozov</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://alekvolsk.pw</authorUrl>
<copyright2019 Aleksey A. Morozov. All right reserved.</copyright>
<copyright2020 Aleksey A. Morozov. All right reserved.</copyright>
<license>GNU General Public License version 3 or later; see http://www.gnu.org/licenses/gpl-3.0.txt</license>
<creationDate>September 2019</creationDate>
<version>1.6.0</version>
<creationDate>March 2020</creationDate>
<version>1.6.1</version>
<description>PLG_YTVIDEO_DESC</description>
<scriptfile>script.php</scriptfile>
<files>
Expand Down
4 changes: 2 additions & 2 deletions plg_editors-xtd_ytvideobtn/ytvideobtn.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<author>Aleksey A. Morozov</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://alekvolsk.pw</authorUrl>
<copyright2019 Aleksey A. Morozov. All right reserved.</copyright>
<copyright2020 Aleksey A. Morozov. All right reserved.</copyright>
<license>GNU General Public License version 3 or later; see http://www.gnu.org/licenses/gpl-3.0.txt</license>
<creationDate>Oktober 2019</creationDate>
<creationDate>March 2020</creationDate>
<version>1.5.4</version>
<description>PLG_EDITORS-XTD_YTVIDEOBTN_XML_DESCRIPTION</description>
<scriptfile>script.php</scriptfile>
Expand Down

0 comments on commit 5adb11b

Please sign in to comment.