Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2006-01-24 03:17:57
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 32K plugin yields 8MB plugin file
Any suggestions on how to detect this, and what variable to use instead?
Alex
Offline
Re: 32K plugin yields 8MB plugin file
$GLOBALS[‘PHP_SELF’] works on my server, and you can do the same basename() trick to get the filename. Also you can just slightly modify zem_tpl.php to function compile_plugin($file='')
and specify echo compile_plugin($filename);
and specify $filename
in the plugin.
Offline