New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve portability of advanced-cache.php #258
Comments
@qeera The variables in define('QUICK_CACHE_PLUGIN_FILE', '%%QUICK_CACHE_PLUGIN_FILE%%'); The If you move your WordPress site to a new system, you should delete |
@raamdev Maybe you already considered this, but perhaps we could use the |
@jaswsinc But if we make that consideration, then we should make that consideration for everything else that's in I have nothing wrong with keeping things portable, I just think doing so will require a much larger consideration than just @jaswsinc If you think that's worth pursuing, I'll reopen this and mark it as a feature request. |
I think so, yes. Well, I should say... I think it's worth taking a closer look. Aside from this one Constant: We prefix the configured cache directory with |
@jaswsinc OK, sounds good. I'll reopen this, mark it as an enhancement, and assign it to you. :) Thanks! |
…CACHE_PLUGIN_FILE%%`; see wpsharks/comet-cache#258
Resolved in the feature/258 branch. |
@jaswsinc Thanks so much! Closed by PR #263. |
The latest update set a absolute path in advanced-cache.php on line
define('QUICK_CACHE_PLUGIN_FILE', '!ABSOLUTE_PATH!!/quick-cache.php');
This breaks the function if you move the wordpress to a other system. In My case develop on win and deploy it to linux.
Please try a bugfix with relative path or use something like:
define('QUICK_CACHE_PLUGIN_DIR', dirname(FILE) . '/plugins/quick-cache'); //[MS] 2014-08-03
if(!defined('QUICK_CACHE_PLUGIN_FILE'))
/**
* Plugin file path.
*
* @SInCE 140725 Reorganizing class members.
*
* @var string Absolute server path to QC plugin file.
*/
define('QUICK_CACHE_PLUGIN_FILE', QUICK_CACHE_PLUGIN_DIR . '/quick-cache.php'); //[MS] 2014-08-03
The text was updated successfully, but these errors were encountered: