Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
have 3 CMS read from one plugin Folder?
#1
So I use this CMS on 3 different subdirectories on my site.

If I add a plugin I have to add them to each plugin folder. Is there a way to put the plugin in my main directory and point the subdirectory to the same plugin folder.

How and where in the code is the plugin folder link so I can change it to point somewhere else?

I use version 3.1.2 - all I want to do is change them so they read the plugins folder in a different directory. Hope you can help - let me know if you have a question what I am needing.
Reply
#2
GSPLUGINPATH which is used internally for the Plugin path is defined on line 48 of /admin/inc/common.php
you could try messing about with that. Bear in mind your changing the core and any update you do might overwrite this...
My Github Repos: Github
Website: DigiMute
Reply
#3
(2012-11-01, 07:24:12)n00dles101 Wrote: GSPLUGINPATH which is used internally for the Plugin path is defined on line 48 of /admin/inc/common.php
you could try messing about with that. Bear in mind your changing the core and any update you do might overwrite this...

______________

Yeah I saw this and figured this is probably it - will play around with the paths and see what I can figure out - was hoping there was a more direct easy path.

Thanks for the quick response,
Reply
#4
Could you use symbolic links ?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
Yeah I was also thinking symlinks might work. I'm moving this thread to the other section since it makes more sense there. Smile
Reply
#6
(2012-11-01, 09:12:13)shovenose Wrote: Yeah I was also thinking symlinks might work. I'm moving this thread to the other section since it makes more sense there. Smile

________________

But looking under common.php at --> define('GSPLUGINPATH', GSROOTPATH. 'plugins/'); I could not just change 'plugins/' to a new path that reads to the main directory? How would you use the symlinks?
Reply
#7
Well, you should certainly try changing that setting.
If it doesn't work, however, you may want to read this:
http://en.wikipedia.org/wiki/Symbolic_link
Reply




Users browsing this thread: 3 Guest(s)