Hello,
I have a problem with some PHP codes, I made a website on joomla 1.6 and put in a beta folders to start then I try to move everything to the root (www) and I got an error, so I put it back in beta folders but still have this error:
Parse error: syntax error, unexpected T_CLASS in /.../.../www/beta/libraries/loader.php on line 18
At the line 18 I got this code
abstract class JLoader
{
private static $paths = array();
private static $classes = array();
/**
* Loads a class from specified directories.
*
* @param string The class name to look for (dot notation).
* @param string Search this directory for the class.
* @param string String used as a prefix to denote the full path of the file (dot notation).
* @since 1.5
*/
public static function import($filePath, $base = null, $key = 'libraries.')
{
$keyPath = $key ? $key . $filePath : $filePath;
Waiting your answer to try to solve the problem, Thanks