upload_timetable/config.php.sample
Raphael Dannecker 77188c4289 Comment added
2020-11-27 23:10:28 +01:00

26 lines
1.1 KiB
Text

<?php
// Configuration for upload-timetable.php
// move to config.php
// Moodle Webservice token
$config['token'] = '11157f172aff76f65712e5468fca3331';
// Webservice URL
$config['url'] = 'https://moodlesb.steinbeisschule-reutlingen.de/webservice/rest/server.php';
// Filename for storing hashes
$config['hashfile'] = 'hashes.json';
// Filepath to untis
$config['files'] = array();
$config['files'][] = array('name' => 'lesson', 'file' => 'untis/export/lesson.txt');
$config['files'][] = array('name' => 'teacher', 'file' => 'untis/export/teacher.txt');
$config['files'][] = array('name' => 'room', 'file' => 'untis/export/room.txt');
$config['files'][] = array('name' => 'class', 'file' => 'untis/export/class.txt');
$config['files'][] = array('name' => 'time', 'file' => 'untis/export/time.txt');
$config['files'][] = array('name' => 'absence_reason', 'file' => 'untis/export/GPU012.TXT');
$config['files'][] = array('name' => 'absence', 'file' => 'untis/export/GPU013.TXT');
$config['files'][] = array('name' => 'substitution', 'file' => 'untis/export/GPU014.TXT');