Ticket #280 (closed enhancement: fixed)

Opened 12 months ago

Last modified 12 months ago

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

Changed 12 months ago by moo

  • status changed from new to closed
  • resolution set to fixed

fixed in [902]. config is now changed

Note: See TracTickets for help on using tickets.