One Hat Cyber Team
Your IP :
18.219.93.1
Server IP :
162.241.123.123
Server :
Linux sh016.hostgator.in 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Server Software :
Apache
PHP Version :
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home1
/
saicsazq
/
vartha.org
/
application
/
libraries
/
View File Name :
Googleplus.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Googleplus { public function __construct() { $CI =& get_instance(); $CI->config->load('googleplus'); require APPPATH .'third_party/google-api-php-client/src/Google_Client.php'; require APPPATH .'third_party/google-api-php-client/src/contrib/Google_PlusService.php'; $cache_path = $CI->config->item('cache_path'); $GLOBALS['apiConfig']['ioFileCache_directory'] = ($cache_path == '') ? APPPATH .'cache/' : $cache_path; $this->client = new Google_Client(); $this->client->setApplicationName($CI->config->item('application_name', 'googleplus')); $this->client->setClientId($CI->config->item('client_id', 'googleplus')); $this->client->setClientSecret($CI->config->item('client_secret', 'googleplus')); $this->client->setRedirectUri($CI->config->item('redirect_uri', 'googleplus')); $this->client->setDeveloperKey($CI->config->item('api_key', 'googleplus')); //$this->client->addScope("https://www.googleapis.com/auth/userinfo.email"); $this->plus = new Google_PlusService($this->client); } public function __get($name) { if(isset($this->plus->$name)) { return $this->plus->$name; } return false; } public function __call($name, $arguments) { if(method_exists($this->plus, $name)) { return call_user_func(array($this->plus, $name), $arguments); } return false; } } ?>