Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 6f6465916ba950ea87f7f3988e416d7cfc142a18 1 parent f1dfc46
@bishnoi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libraries/joomla/filesystem/path.php
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'));
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.