Opened 2 years ago

Closed 23 months ago

#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:
Application: PHP Version:
Other Exts: SAPI: Irrelevant
Probability: Blocked By:
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 (1)

comment:1 Changed 23 months ago by moo

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [902]. config is now changed

Note: See TracTickets for help on using tickets.