RSS Feed/News Abstracted filesystem in XF3

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
30,676
Points
823

Reputation:

Flysystems is used for the abstracted filesystem in XenForo 2, but I was just thinking... it's not particularly complicated. Maybe it would be worthwhile thinking about getting rid of that third-party library and just use standard PHP streams instead? Internally could just use stream_wrapper_register() to register a XenForo filesystem of sorts and then just use normal PHP functions. Similar to how https is a stream wrapper for URLs within normal functions...

Read more

Continue reading...
 
Status
Not open for further replies.
Top