Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multi-file plugins
#4
What I (like to) think tankmiche meant is something like this:

  1. Include all PHP files within GSPLUGINPATH.
  2. Read through folders within GSPLUGINPATH.
  3. 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!
Reply


Messages In This Thread
Multi-file plugins - by tankmiche - 2010-09-24, 19:03:36
Multi-file plugins - by Zegnåt - 2010-09-25, 00:00:26
Multi-file plugins - by JWH_Matthew - 2010-09-25, 02:19:51
Multi-file plugins - by Zegnåt - 2010-09-25, 02:49:55
Multi-file plugins - by tankmiche - 2010-09-25, 03:26:37
Multi-file plugins - by ccagle8 - 2010-09-25, 10:10:07
Multi-file plugins - by tankmiche - 2010-09-25, 17:05:54



Users browsing this thread: 1 Guest(s)