URL variable $urldir dissapears in custom templates (v. 2.9 - 2.91)
If the URL directory variable include () is used in a custom template, it is stripped out in the template conversion process. To correct this:
-
Open the open.php file in the /includes/ folder of the /storeadmin/ folder.
-
Remove the following code (around line 371):
// OLD PRE-PHP 7 SCRIPT TAGS $createtemplate = str_replace('', '.php"); ?>', $createtemplate);