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 /
mod /
lti /
db /
Delete
Unzip
Name
Size
Permission
Date
Action
access.php
3.13
KB
-rw-r--r--
2017-06-22 15:23
install.xml
11.06
KB
-rw-r--r--
2017-06-22 15:23
log.php
1.25
KB
-rw-r--r--
2017-06-22 15:23
services.php
5.02
KB
-rw-r--r--
2017-06-22 15:23
subplugins.php
1002
B
-rw-r--r--
2017-06-22 15:23
upgrade.php
9.25
KB
-rw-r--r--
2017-06-22 15:23
upgradelib.php
2.25
KB
-rw-r--r--
2017-06-22 15:23
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/>. /** * LTI upgrade script. * * @package mod_lti * @copyright 2014 Vital Source Technologies http://vitalsource.com * @author Stephen Vickers * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Update any custom parameter settings separated by semicolons. */ function mod_lti_upgrade_custom_separator() { global $DB; // Initialise parameter array. $params = array('semicolon' => ';', 'likecr' => "%\r%", 'likelf' => "%\n%", 'lf' => "\n"); // Initialise NOT LIKE clauses to check for CR and LF characters. $notlikecr = $DB->sql_like('value', ':likecr', true, true, true); $notlikelf = $DB->sql_like('value', ':likelf', true, true, true); // Update any instances in the lti_types_config table. $sql = 'UPDATE {lti_types_config} ' . 'SET value = REPLACE(value, :semicolon, :lf) ' . 'WHERE (name = \'customparameters\') AND (' . $notlikecr . ') AND (' . $notlikelf . ')'; $DB->execute($sql, $params); // Initialise NOT LIKE clauses to check for CR and LF characters. $notlikecr = $DB->sql_like('instructorcustomparameters', ':likecr', true, true, true); $notlikelf = $DB->sql_like('instructorcustomparameters', ':likelf', true, true, true); // Update any instances in the lti table. $sql = 'UPDATE {lti} ' . 'SET instructorcustomparameters = REPLACE(instructorcustomparameters, :semicolon, :lf) ' . 'WHERE (instructorcustomparameters IS NOT NULL) AND (' . $notlikecr . ') AND (' . $notlikelf . ')'; $DB->execute($sql, $params); }