Ticket #3827 (new Feature Requests)

Opened 4 years ago

Last modified 4 years ago

Allow functions.inc.php files to be named func.dirname.php

Reported by: Nick_Lewis Assigned to:
Priority: trivial Milestone: Undetermined
Component: FreePBX Framework Version: 2.6-branch
Keywords: Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

My development computer is stuffed with functions.inc.php files in various states of undress. When I have them open in an editor they all have the same name so I end up editing the wrong one at the wrong time.

May I request that freepbx permit functions.inc.php files to be alternatively named func.<dirname>.php (in much the same way as page.<dirname>.php file are).

For example both the following naming alternatives to be valid: /var/www/html/admin/modules/newmodule/functions.inc.php /var/www/html/admin/modules/newmodule/func.newmodule.php

Attachments

retrieve_conf.patch (1.3 kB) - added by Nick_Lewis on 08/27/09 09:57:34.
config.php.patch (0.8 kB) - added by Nick_Lewis on 08/27/09 09:58:03.

Change History

08/25/09 21:56:16 changed by p_lindheimer

  • milestone changed from 2.6 to 2.7.

this is probably a lot cleaner in 3.0 where the entire framework has been changed, though it will take time to mature. For now moving it to the next milestone if we want to consider it for 2.x

08/27/09 09:57:34 changed by Nick_Lewis

  • attachment retrieve_conf.patch added.

08/27/09 09:58:03 changed by Nick_Lewis

  • attachment config.php.patch added.

08/27/09 09:58:44 changed by Nick_Lewis

Ok but for the record here are the relevant patches