initial commit

This commit is contained in:
2021-07-10 16:25:16 +02:00
parent bff57cbf45
commit 20fb7267a8
2426 changed files with 792090 additions and 0 deletions
@@ -0,0 +1,21 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Niveaus extends MY_controller {
function __construct(){
parent::__construct();
$models = array('ijkpartituur/Niveaus_model');
$this->load->model($models);
if ( ! $this->check_online_status() ) {
echo json_encode( array('offline' => TRUE) );
die;
};// if
}
public function index(){
}
function getNiveaus(){
$niveaus = $this->Niveaus_model->get_niveaus();
echo json_encode($niveaus);
}
}