Poll: changing paths
Poll

Should Wedge allow you to change all of its paths?

I've never changed any paths in SMF. Why should I start with Wedge? Drop this feature if it helps both you and me in the end.
5 (71.4%)
I'd like to keep being able to move my core/app (Sources) folder around.
0 (0%)
I'd like to keep being able to move my core/html (Templates) folder around.
0 (0%)
I'd like to keep being able to move some other (non-media) folder(s) around.
0 (0%)
I only move my media/attachment folders around. The rest, I'd never bother.
2 (28.6%)
Voting closed: March 8th, 2014, 12:34 PM - Total Members Voted: 7

Nao

  • Dadman with a boy
  • Posts: 16,079
Poll: changing paths
« on March 3rd, 2014, 12:34 PM »
Advantages of changing paths:
- You can move your source files to a non-accessible path, meaning no one can see their contents, even if you server fails.

Advantages of keeping paths the same across all copies of Wedge:
- Moving your Wedge install to another folder is a no-brainer, because all paths are automatically updated.
- Seriously, even if someone could see your source file contents... Who cares? They can already see them on GitHub anyway!

To me, the only file that MIGHT warrant being moved to a non-web space is Settings.php, and even SMF doesn't support that... If you're not modifying your Settings.php file (i.e. keeping away from the admin area), you could consider turning Settings.php into a file saying "include (__DIR__ . '../../somewhere/Settings.php')", but because Wedge may not have write access to said path, it's not realistic to expect it to handle this kind of redirection easily.
It might be possible to create a hardlink to that file, but I'm not sure it wouldn't simply be shown in the same circumstances at a regular file.

Can anyone think of a GOOD reason to move your folders around..?

PS: media and attachment folders are a special case, though. It's likely that I'll keep the ability to move them around, because of potential disk space concerns.
Re: Poll: changing paths
« Reply #1, on March 3rd, 2014, 11:03 PM »
Oh, I'm soooo looking forward to removing these!! :D
This will also make it easier to try and implement automatic updates for Wedge. (I'm not making any promises, but...)

Bunstonious

  • Espada
  • Posts: 204
Re: Poll: changing paths
« Reply #2, on March 4th, 2014, 12:43 AM »
I haven't ever had a real need to move to non standard folders.

As long as they all work (its detected some weird locations before)
Re: Poll: changing paths
« Reply #3, on March 4th, 2014, 12:44 AM »
It would be good if it was protocol independent.
Quote from Random Guy
Not putting miles on your Ferrari is like not having sex with your Girlfriend so she'll be more desirable to her next Boyfriend

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Poll: changing paths
« Reply #4, on March 4th, 2014, 07:53 AM »
It definitely will be. And if not, I have you to scold me for. :P
Re: Poll: changing paths
« Reply #5, on March 5th, 2014, 12:32 AM »
Okay, if nobody's against this, I'll soon be removing the custom paths from Settings.php (anything that's not $boardurl and $boarddir, basically.)
I'll keep the others for now, as I said.
Since there might be security issues related to this, I've left the poll open for a few more days, in case someone wants to be heard. ;)
Re: Poll: changing paths
« Reply #7, on March 10th, 2014, 03:53 PM »
So, path customization will be removed soon. The people have spoken. :)

I'll work on this, hmm... As soon as I'm done with the banner rewrite! And the final South Park dungeon. :P