From 6f6465916ba950ea87f7f3988e416d7cfc142a18 Mon Sep 17 00:00:00 2001 From: bishnoi Date: Fri, 5 Oct 2012 16:40:10 +0530 Subject: [PATCH] Use of undefined constant JPATH_SITE Notice: Use of undefined constant JPATH_SITE - assumed 'JPATH_SITE' in .....\htdocs\jplateform\libraries\joomla\filesystem\path.php on line 15 emerges when testing for web application --- libraries/joomla/filesystem/path.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/joomla/filesystem/path.php b/libraries/joomla/filesystem/path.php index 6a4f640b76..e08cdd1bca 100644 --- a/libraries/joomla/filesystem/path.php +++ b/libraries/joomla/filesystem/path.php @@ -12,7 +12,7 @@ if (!defined('JPATH_ROOT')) { // Define a string constant for the root directory of the file system in native format - define('JPATH_ROOT', JPath::clean(JPATH_SITE)); + define('JPATH_ROOT', JPath::clean('JPATH_SITE')); } /**