Open Source Training Seminar FreePBX Paid Support

Ticket #1482 (new Feature Requests)

Opened 2 years ago

Last modified 2 years ago

Direct access to module files

Reported by: gregmac Assigned to:
Priority: major Milestone: 4.0
Component: Core Version: SVN-HEAD
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

We need a new method to access files inside modules (see #1442)

I'm thinking, eg, direct.php/phpinfo/logfiles or something like that (using PATH_INFO, just to make things simple), along with a handler function inside the module, phpinfo_direct($param), where 'logfiles' gets passed as $param. Then the handler function can do whatever it wants - display the contents of a file, or generate output.

If the function returns true, then direct.php will wrap the output in the usual header/footer (but no menu).. otherwise, it just displays the output directly (which would allow the function to return an image, or any other content-type with appropriate headers).

Change History

12/01/06 11:57:49 changed by p_lindheimer

  • version changed from 2.2rc1 to SVN-HEAD.
  • milestone set to 2.3.

12/04/06 13:47:46 changed by gregmac

  • priority changed from minor to major.

01/08/07 11:46:49 changed by

  • milestone deleted.

Milestone 2.3 deleted

01/08/07 12:06:45 changed by vgster

  • milestone set to 2.3.
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads