Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 5 matches
Smarty Forum Index
Author Message
  Topic: Setting Compile Directory to a non-file system Stream
Gozzy

Replies: 7
Views: 23677

PostForum: General   Posted: Wed May 19, 2021 12:05 pm   Subject: Setting Compile Directory to a non-file system Stream
By setting allow_url_include = On as you recommended I can get a test include to work just fine with my stream wrapper.
And any other stream wrapper including HTTP. Do you realize you just created a ...
  Topic: Setting Compile Directory to a non-file system Stream
Gozzy

Replies: 7
Views: 23677

PostForum: General   Posted: Tue May 18, 2021 2:26 pm   Subject: Setting Compile Directory to a non-file system Stream
Yet again: compiled template is a regular PHP code.
It is not read using file access functions, it is directly executed (see Smarty_Template_Compiled::loadCompiledTemplate).
Understood, thanks.

L ...
  Topic: Setting Compile Directory to a non-file system Stream
Gozzy

Replies: 7
Views: 23677

PostForum: General   Posted: Sat May 15, 2021 3:39 pm   Subject: Setting Compile Directory to a non-file system Stream
How would PHP then include files from this wrapper?
It is a stream wrapper registered with stream_wrapper_register() so any PHP code - including Smarty - would use the standard file access functions ...
  Topic: Setting Compile Directory to a non-file system Stream
Gozzy

Replies: 7
Views: 23677

PostForum: General   Posted: Thu May 13, 2021 2:41 pm   Subject: Setting Compile Directory to a non-file system Stream
I should probably add that I am running the latest release, Smarty 3.1.39 on top of PHP 8. Smarty was installed via Composer.
  Topic: Setting Compile Directory to a non-file system Stream
Gozzy

Replies: 7
Views: 23677

PostForum: General   Posted: Wed May 12, 2021 3:46 pm   Subject: Setting Compile Directory to a non-file system Stream
Way back in the dim and distant past (see [url=https://www.smarty.net/forums/viewtopic.php?t=10812]this thread), there was a request to allow the compile directory to be moved to a stream.

I want t ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP