Everything is fine on localhost (Pc), but in server i get this:
Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\test\koolreport\core\src\core\Utility.php on line 318
I think autoload.php calls Utility.php
//Step 1: Load KoolReport __require_once "koolreport/core/autoload.php";__
from file: SomeClass.php
<?php
//Step 1: Load KoolReport require_once "koolreport/core/autoload.php";
//Step 2: Creating Report class
class SomeClass extends \koolreport\KoolReport {
protected function settings()
{
return array(
"dataSources"=>array(
)
);
}
protected function setup()
{
}
}
plz help.