Skip to content

admin folder not resolved correctly #7

@gudata

Description

@gudata

I use the opencart-vqmod-scripts-v4.0.0

All files are created - no errors.
My custom admin folder name is "adminp"
When I checked the vqmod/pathReplaces.php I see the new line

if (defined('DIR_CATALOG')) { $replaces[] = array('~^admin\b~', basename(DIR_APPLICATION)); }

my DIR_APPILICATION points to the catalog - nothing and in a result the vqmod do not work for admin vqmods.

when I manually enter the change as pointed here it works

if (defined('DIR_CATALOG')) { $replaces[] = array('~^admin\b~', 'adminp'); }

it works

My expectation was that the install.php will do that for me because it asked for the new admin folder name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions