Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-10-25 17:05:06

Summer
Member
Registered: 2018-01-29
Posts: 60

Hi, guys, I have a few suggestions.

Hi, guys, I have a few suggestions.
In the admin settings:
Can the path setting be modified to a relative path?
E.g. File directory path / Temporary directory path
There are also many absolute path displays in the diagnostic information.

Offline

#2 2018-12-07 12:13:20

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,040
Website GitHub Mastodon Twitter

Re: Hi, guys, I have a few suggestions.

I’m revisiting this thread because of a spam post which is now deleted.

I’m wondering if a relative path would be prudent for the temp and the plugin cache directories as it is highly advisable to have them below the root of the domain and I do not know if ../../../temp would work.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2018-12-07 12:16:12

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,305
Website GitHub

Re: Hi, guys, I have a few suggestions.

We ought to be able to specify both absolute and relative paths, for convenience. But we’d probably be better off converting them to absolute paths on save. Not sure of the merits of either from a security standpoint (or if it even makes a difference).


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2018-12-07 12:46:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,040
Website GitHub Mastodon Twitter

Re: Hi, guys, I have a few suggestions.

Hi Stef,

Glad you joined the conversation.

One issue is the images directory which should preferably reside in a subdomain outside an https domain. I know that there are workarounds for that but it would be good to have that choice scripted in the core.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2018-12-07 13:11:29

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,305
Website GitHub

Re: Hi, guys, I have a few suggestions.

Images are going to be looked at in earnest in 4.8 so if we can make things easier for people to manage images outside of the base install (without having to resort to multi-site) then we’ll see what can be done. I’ll add it to my planning doc.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB