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

    I’m a bit confused about the config.core.php. Last time I installed MODx (2.1), the code in this file looked like this (after setup completes):
    <?php
    define('MODX_CORE_PATH', dirname(__FILE__) . '/core/');
    define('MODX_CONFIG_KEY', 'config');
    ?>
    


    and after upgrading to 2.1.1 like this:
    <?php
    define('MODX_CORE_PATH', '/mydomain/modx/core/');
    define('MODX_CONFIG_KEY', 'config');
    ?>
    


    Which version is correct?

    TIA
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      As long as both of them point to the right location you should be fine.

      Though it would be interesting to find out why it was changed to an absolute path instead of the reference - can’t find it right now.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.