2010-09-25, 02:49:55
What I (like to) think tankmiche meant is something like this:
This way, if I have a plugin that needs several files all of my files can go within the folder instead of having one file outside of the folder. It makes the plugins folder much easier to oversee. 1 file plugins can exist of only their 1 PHP file in the plugin folder. Other plugins exist of only a folder in the plugin folder. Instead of the way they do now: 1 PHP file and 1 folder.
- Include all PHP files within GSPLUGINPATH.
- Read through folders within GSPLUGINPATH.
- If the folder within GSPLUGINPATH includes a file called plugin.php, include this one file.
This way, if I have a plugin that needs several files all of my files can go within the folder instead of having one file outside of the folder. It makes the plugins folder much easier to oversee. 1 file plugins can exist of only their 1 PHP file in the plugin folder. Other plugins exist of only a folder in the plugin folder. Instead of the way they do now: 1 PHP file and 1 folder.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!