• Resolved slashzero

    (@slashzero)


    Hi

    I have Sucuri installed on my WordPress site with Pantheon but when the binding ID changes, which happens when my container is moved for maintenance, the data storage path breaks because it has to be an absolute path.

    Is there any way around this?

    I would prefer to set the data storage path in wp-config.php as I can then use the $_ENV supergloabal for populate the binding ID.

    Alternatively, I’d like to be able to use a relative path, e.g. `wp-content/uploads/sucuri/’ instead.

    Kind regards

    — Mike Richardson

    https://wordpress.org/plugins/sucuri-scanner/

Viewing 1 replies (of 1 total)
  • Task finished with pull-request #2 [1]; once the changes are merged in the master branch and pushed to the WordPress repositories you will be able to set a constant in the WordPress configuration file named “SUCURI_DATA_STORAGE” pointing to a valid and existing absolute directory path like “/tmp/sucuri” or whatever you prefer, using a relative path may work as long as the directory traversal is correct.

    [1] https://github.com/Sucuri/sucuri-wordpress-plugin/pull/2

Viewing 1 replies (of 1 total)

The topic ‘Absolute path breaks on Pantheon platform’ is closed to new replies.