Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
55 user(s) are online (52 user(s) are browsing Forums)

Members: 1
Guests: 54

samo79, more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: SMTube : new version on OS4Depot

Subject: Re: SMTube : new version on OS4Depot
by ChrisH on 2015/11/14 10:16:03

@zzd10h Quote:
If I do it, I will put it in ENVARC:, it will allow to upgrade smtube only by deleting/replacing the whole drawer.

Hmm, OK, I can see good as well as bad sides to using ENVARC:. Although I still disagree with using ENVARC:, why not just allow the config file to be stored in BOTH locations? Then users can choose whichever method (a) they are comfortable with, and (b) works best for them?

i.e. Just add one extra line of code. Check whether local path exists, and if not then fall-back to ENVARC:. (It makes sense that ENVARC: could be overriden by local version. And avoids the possibility of an "invisible" EnvArc: file causing the local config file to be ignored, which would confuse users.)
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project