Skip to content

Commit 27f26f0

Browse files
Hanisch-ITchriskacerguis
Hanisch-IT
authored andcommitted
Bugfix (#842)
- Fix: format initialization without composer - Fix: Readme
1 parent cf49abe commit 27f26f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Take a look at the "development" branch to see what's up.
2020

2121
## Installation & loading
2222

23-
CodeIgniter Rest Server is available on [Packagist](https://packagist.org/packages/hanischit/kraken-api) (using semantic versioning), and installation via composer is the recommended way to install Kraken-api. Just add this line to your `composer.json` file:
23+
CodeIgniter Rest Server is available on [Packagist](https://packagist.org/packages/chriskacerguis/codeigniter-restserver) (using semantic versioning), and installation via composer is the recommended way to install Codeigniter Rest Server. Just add this line to your `composer.json` file:
2424

2525
```json
2626
"chriskacerguis/codeigniter-restserver": "^3.0"

application/libraries/REST_Controller.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,8 @@ public function __construct($config = 'rest')
413413
}
414414
else
415415
{
416-
$this->load->library('format');
416+
$this->load->library('Format', NULL, 'libraryFormat');
417+
$this->format = $this->libraryFormat;
417418
}
418419

419420

0 commit comments

Comments
 (0)