Skip to content

Use of undefined constant JPATH_SITE #1569

Closed
wants to merge 1 commit into from
+1 −1
View
2 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'));
}
/**
Something went wrong with that request. Please try again.