Permalink
Browse files

Patch 1 (#939)

* Update Example.php

Fix File REST_Controller not found problem

* Update REST_Controller.php

Class 'Restserver\Libraries\CI_Controller' not found
  • Loading branch information...
aproram authored and chriskacerguis committed Jul 30, 2018
1 parent 97c3618 commit 34d8dab64aefb9977b2daffb935725347b363ab4
Showing with 4 additions and 2 deletions.
  1. +3 −1 application/controllers/api/Example.php
  2. +1 −1 application/libraries/REST_Controller.php
@@ -4,7 +4,9 @@
// This can be removed if you use __autoload() in config.php OR use Modular Extensions
/** @noinspection PhpIncludeInspection */
//require APPPATH . 'libraries/REST_Controller.php';
//To Solve File REST_Controller not found
require APPPATH . 'libraries/REST_Controller.php';
require APPPATH . 'libraries/Format.php';
/**
* This is an example of a few basic user interaction methods you could use
@@ -1,7 +1,7 @@
<?php
namespace Restserver\Libraries;
use CI_Controller;
use Exception;
use stdClass;

0 comments on commit 34d8dab

Please sign in to comment.