Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Plugin cache directory
Looked around, didn’t find it, so I ask.
What’s a typical location for the Plugin cache directory path?
Something like /textpattern/plugins or /textpattern/cache ?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Plugin cache directory
As it could be vulnerable to attacks, I would locate it before the site root.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Plugin cache directory
colak wrote #292899:
As it could be vulnerable to attacks, I would locate it before the site root.
This is for a local testing environment, I’m just looking for best practices.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Plugin cache directory
Not within the /textpattern directory, because that makes upgrading harder (if you use the tarbal/zipfile route).
Outside the document root, if your test environment is publicly accessible for the reason Colak gave.
Other than that, it doesn’t matter.
Offline
Re: Plugin cache directory
Ruud, I grabbed your plugins for an experiment of sorts.
I created a cross reference with Textpattern 4.5.7, added a Plugins and Themes folder in the root of an install.
Here is the Cross Reference, this is for my internal use, I’m just putting it up here so you can see what I’m trying to accomplish.
Basically, I’d like to grab the most prominent plugins and add them to a Plugins folder in the latest stable Textpattern code base. Then run it through a cross reference so I can see how these pluigins interact with the core, what functions they add, do they even work with my current PHP 5.6.9 setup?
zem_contact_reborn is missing from the cross reference because:
Parse error: syntax error, unexpected '', '' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /home/www/zendstudio/textpattern/plugins/zem_contact_reborn.php on line 172
I’ve got PHP reporting to me if a PHP script sneezes:
[07-Jul-2015 20:01:38 America/New_York] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/www/zendstudio/textpattern-alu/textpattern/setup/index.php on line 318
[07-Jul-2015 20:03:11 America/New_York] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/www/zendstudio/textpattern-alu/textpattern/setup/txpsql.php on line 31
Call it an educational exercise, who knows, it may serve useful. Let’s say you wanted to change an internal function, wouldn’t it be great to know what plugins use this function.
bert@jessie:/home/phpcrossref$
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Pages: 1