Since board owners will be using the ext/ directory, I believe it should be included as an empty directory in the package.
I think this will prevent any confusion as to where to put extensions if the ext directory does not exist or if they are supposed to create it, etc, from first time board owners.
[RFC|Merged] Make ext/ directory
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: [RFC] Make ext/ directory
Maybe not empty -- you might want a .htaccess file there -- but that's certainly a good idea.
Steve
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] Make ext/ directory
It can't be empty or git won't accept it. I can't see the point in a htaccess, but a .gitignore or .gitkeep would be good.Pony99CA wrote:Maybe not empty -- you might want a .htaccess file there -- but that's certainly a good idea.
Steve
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC] Make ext/ directory
Right. I'm not sure we need to add yet another .gitignore, nor do we need a .gitkeep.DavidIQ wrote:Or the usual blank index.htm file.
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC] Make ext/ directory
If nothing inside the ext directory should be accessible, it should be blocked by a .htaccess rule somewhere. Although this probably isn't the case, image files and such may be required within the extension...
Re: [RFC] Make ext/ directory
+1 for the idea
+1DavidIQ wrote:Or the usual blank index.htm file.
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: [RFC] Make ext/ directory
I know my ReIMG MOD when converted to an extension would have images in its directory under /ext/ as they are currently just being copied to each style. There are also some other files included, such as one that is called via AJAX as well as common .js files. These I assume would all need to be in /ext/ and they would obviously need to be accessed outside of this directory. At the moment I have most of the files in a reimg directory in the site root so I'd be moving them.EXreaction wrote:If nothing inside the ext directory should be accessible, it should be blocked by a .htaccess rule somewhere. Although this probably isn't the case, image files and such may be required within the extension...
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am