From 1d5a99878a88061a54f6683fdc5cd9e81e608846 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Sat, 1 Sep 2018 10:26:38 +0200 Subject: [PATCH] Also removed the dot from the related functions in gh-334 --- README.md | 2 +- admin/README.txt | 2 +- admin/helpers/componentbuilder.php | 4 ++-- componentbuilder.xml | 2 +- site/helpers/componentbuilder.php | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0bbad6784..55fb773f9 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 31st August, 2018 ++ *Last Build*: 1st September, 2018 + *Version*: 2.9.0 + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt diff --git a/admin/README.txt b/admin/README.txt index 0bbad6784..55fb773f9 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -125,7 +125,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 31st August, 2018 ++ *Last Build*: 1st September, 2018 + *Version*: 2.9.0 + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt diff --git a/admin/helpers/componentbuilder.php b/admin/helpers/componentbuilder.php index 09fd5b40e..7e866d494 100644 --- a/admin/helpers/componentbuilder.php +++ b/admin/helpers/componentbuilder.php @@ -2336,7 +2336,7 @@ abstract class ComponentbuilderHelper * @return string On success the path or url is returned based on the type requested * */ - public static function getFilePath($type = 'path', $target = 'filepath', $fileType = null, $key = '', $default = JPATH_SITE . '/images/', $createIfNotSet = true) + public static function getFilePath($type = 'path', $target = 'filepath', $fileType = null, $key = '', $default = '', $createIfNotSet = true) { // make sure to always have a string/path if(!self::checkString($default)) @@ -2410,7 +2410,7 @@ abstract class ComponentbuilderHelper * @return string On success the path or url is returned based on the type requested * */ - public static function getFolderPath($type = 'path', $target = 'folderpath', $default = JPATH_SITE . '/images/', $createIfNotSet = true) + public static function getFolderPath($type = 'path', $target = 'folderpath', $default = '', $createIfNotSet = true) { // make sure to always have a string/path if(!self::checkString($default)) diff --git a/componentbuilder.xml b/componentbuilder.xml index b393d1792..874931cae 100644 --- a/componentbuilder.xml +++ b/componentbuilder.xml @@ -1,7 +1,7 @@ COM_COMPONENTBUILDER - 31st August, 2018 + 1st September, 2018 Llewellyn van der Merwe llewellyn@joomlacomponentbuilder.com http://www.joomlacomponentbuilder.com diff --git a/site/helpers/componentbuilder.php b/site/helpers/componentbuilder.php index ca86947af..dedbc4d78 100644 --- a/site/helpers/componentbuilder.php +++ b/site/helpers/componentbuilder.php @@ -2336,7 +2336,7 @@ abstract class ComponentbuilderHelper * @return string On success the path or url is returned based on the type requested * */ - public static function getFilePath($type = 'path', $target = 'filepath', $fileType = null, $key = '', $default = JPATH_SITE . '/images/', $createIfNotSet = true) + public static function getFilePath($type = 'path', $target = 'filepath', $fileType = null, $key = '', $default = '', $createIfNotSet = true) { // make sure to always have a string/path if(!self::checkString($default)) @@ -2410,7 +2410,7 @@ abstract class ComponentbuilderHelper * @return string On success the path or url is returned based on the type requested * */ - public static function getFolderPath($type = 'path', $target = 'folderpath', $default = JPATH_SITE . '/images/', $createIfNotSet = true) + public static function getFolderPath($type = 'path', $target = 'folderpath', $default = '', $createIfNotSet = true) { // make sure to always have a string/path if(!self::checkString($default))