Why is my website generating this error:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting T_VARIABLE
This is the code being executed:
public function __construct($name, $path = false, $options = false)
{
if ($path !== false)
{
static::configure('cache_directory');
}
if ($options == true)
{
$name .= '-'.$_SERVER['REMOTE_ADDR'];
}
$this->file_path = static::configure('cache_directory') .'/'. $name . '.idx.php';
}