1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php /* * Copyright 2014 Florian "Bluewind" Pritz <bluewind@server-speed.net> * * Licensed under AGPLv3 * (see COPYING for full license text) * */ namespace controllers\api; abstract class api_controller { public $CI; public function __construct() { $this->CI =& get_instance(); } }