|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
gerard Smarty Regular
Joined: 18 Apr 2003 Posts: 84
|
Posted: Fri Aug 29, 2003 6:30 am Post subject: fetch - change fatal to warning |
|
|
I'd like to suggest changing some of the fatal errors in fetch to warnings. I use it to keep bad script links from stalling pages, i.e.
Code: | <script>
{fetch file="xyz.com/code.js" timeout=5}
</script> |
If the site's down, then just output nothing and move on. I just changed one of the _trigger_fatal_error functions to trigger_error and it has the desired effect (not sure if other changes might be desired).
BTW, all the params fetch accepts aren't in the docs . |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|