Skip to content

Commit db407a1

Browse files
committed
fix: fix catalog path
1 parent bbde8be commit db407a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function VFA_vuefront_admin_action_turn_on() {
115115

116116
$catalog_path = $catalog_url_info['path'];
117117

118-
$catalog_path = $catalog_path == '' ? '/' : $catalog_path;
118+
$catalog_path = $catalog_path . '/';
119119
if(!file_exists(ABSPATH . '.htaccess')) {
120120
file_put_contents(ABSPATH.'.htaccess', "# BEGIN WordPress
121121
<IfModule mod_rewrite.c>

0 commit comments

Comments
 (0)