Nieuw Cohort
1. Pas de file config/subdomain.php aan:
<?php
function subDomain() {
$subDomain = "www";
if ( isset($_SERVER['SERVER_NAME'])) {
$subDomain = explode('.', $_SERVER['SERVER_NAME'])[0];
}
if ( $subDomain == 'c22') {
$DB='canvas-c22';
} elseif ( $subDomain == 'c21') {
$DB='canvas-c21';
} elseif ( $subDomain == 'c20') {
$DB='canvas-c20';
} else {
$DB='canvas';
}
# $DB='canvas';
return $DB;
}
?>
2. Maak de nieuwe database aan.
3. ......