Skip to content

Commit

Permalink
Fixed error due to undefined constant in example
Browse files Browse the repository at this point in the history
In your example, public/index has a constant defined as "APPLICATION_PATH" which point to the application folder. But in the conf/application.ini you [were] using APP_PATH which should be APPLICATION_PATH, otherwise your example won't work, unless the user creates another constant named APP_PATH in public/index.php
  • Loading branch information
bivoc committed Sep 15, 2014
1 parent 4d91256 commit 55b73ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ application.ini is the application config file
```ini
[product]
;CONSTANTS is supported
application.directory = APP_PATH "/application/"
application.directory = APPLICATION_PATH "/application/"
```
alternatively, you can use a PHP array instead:
```php
Expand Down

0 comments on commit 55b73ff

Please sign in to comment.