Beispiel #1
0
<?php

use Relay\Conf\Config;
// For large mongo-requests...
// ini_set('memory_limit','512M');
//
$config_root = '/var/www/etc/techsmith-relay/';
Config::add(['router' => ['api_base_path' => '/api/techsmith-relay'], 'auth' => ['dataporten' => $config_root . 'dataporten_config.js', 'relay_sql' => $config_root . 'relay_config.js', 'relay_mongo' => $config_root . 'mongodb_config.js', 'relay_mysql_presdelete' => $config_root . 'relay_mysql_presdelete_config.js', 'relay_mysql_preshits' => $config_root . 'relay_mysql_preshits_config.js', 'relay_mysql_subscribers' => $config_root . 'relay_mysql_subscribers_config.js'], 'utils' => ['debug' => false], 'screencast' => ['base_url' => 'https://screencast.uninett.no', 'employee_url' => 'https://screencast.uninett.no/relay/ansatt/', 'student_url' => 'https://screencast.uninett.no/relay/student/', 'root_path' => '/var/www/mnt/relaymedia_cache/', 'employee_path' => '/var/www/mnt/relaymedia_cache/ansatt/', 'student_path' => '/var/www/mnt/relaymedia_cache/student/', 'delete_list' => '/var/www/mnt/relaymedia_cache/relaymedia_deletelist']]);