corediff icon indicating copy to clipboard operation
corediff copied to clipboard

Discovers platform root when scanning single file

Open gwillem opened this issue 2 years ago • 0 comments

Because corediff needs the relative path (to the platform root), it should check for each scanpath what the platform root should be.

Could add this

    cmsPaths = map[string]string{
        "/app/etc/local.xml":           "magento1",
        "/app/etc/env.php":             "magento2",
        "/wp-config.php":               "wordpress",
        "/lib/internal/Magento":        "magento2",
        "/app/design/frontend/Magento": "magento1",
    }

gwillem avatar Mar 31 '23 15:03 gwillem