Ticket #280 (closed enhancement: fixed)
Do not require a config.php for xcache-admin
| Reported by: | pierres | Owned by: | moo |
|---|---|---|---|
| Priority: | trivial | Milestone: | 2.0.1 |
| Component: | admin | Version: | 2.0.0 |
| Keywords: | Cc: | ||
| Blocked By: | PHP Version: | ||
| Application: | Need User Feedback: | no | |
| Other Exts: | SAPI: | Irrelevant | |
| Probability: | Blocking: |
Description
Some variables like $enable_eval are accessed even though they are only defined in config.php.example.
Adding a isset() check before accessing such variables would make the config file optional and wont rise any PHP warnings.
This would make it a little easier to directly use the xcache admin distributed with the package.
Change History
Note: See
TracTickets for help on using
tickets.

