|
@@ -9,7 +9,7 @@ class GA{
|
|
|
|
|
|
$KEY_FILE_LOCATION = self::getPath($dp);
|
|
$KEY_FILE_LOCATION = self::getPath($dp);
|
|
if(!$KEY_FILE_LOCATION){
|
|
if(!$KEY_FILE_LOCATION){
|
|
- throw new Exception("store 配置不存在");
|
|
|
|
|
|
+ throw new \Exception("store 配置不存在");
|
|
}
|
|
}
|
|
$client = new \Google_Client();
|
|
$client = new \Google_Client();
|
|
$client->setApplicationName("Hello Analytics Reporting");
|
|
$client->setApplicationName("Hello Analytics Reporting");
|