Added v1 for first version controllers.

This commit is contained in:
Alex Tselegidis 2016-07-07 22:05:10 +02:00
parent 2afe0b903b
commit 550cee6765
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,32 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* ----------------------------------------------------------------------------
* Easy!Appointments - Open Source Web Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c) 2013 - 2016, Alex Tselegidis
* @license http://opensource.org/licenses/GPL-3.0 - GPLv3
* @link http://easyappointments.org
* @since v1.2.0
* ---------------------------------------------------------------------------- */
/**
* Appointments Controller
*
* @package Controllers
* @subpackage API
*/
class Appointments extends CI_Controller {
public function get($id = null) {
echo 'hello ' . $id;
}
public function post() {
echo 'post';
}
}
/* End of file appointments.php */
/* Location: ./application/controllers/appointments.php */

View File

@ -0,0 +1,10 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>