We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15083
    • 697 Posts
    Hi guys,

    I may have a requirement to write the MODx cache to a folder outside of the MODx core.
    This is due to a third party tool which is resetting the folder privilages, and therefore causing problems (long story)

    Is it possible to specify the cache to another dir outside of the core?

    Cheers,

    J
      • 22303 MODX Staff
      • 10,725 Posts
      If you are using MODX 2.1+, in your core/config/config.inc.php there is an array declared called $config_options where you can specify custom configuration settings when loading a modX instance. Just edit it to look like this:

      $config_options = array (
          'cache_path' => '/path/where/you/want/to/cache/stuff/',
      );
        • 15083
        • 697 Posts
        Most excellent sir, I thank you.
        Im on 2.1.3