This repository was archived by the owner on May 20, 2026. It is now read-only.
Description Here's a patch:
--- mcp.dc_template_manager.php.orig 2010-04-25 17:54:05.000000000 -0400
+++ mcp.dc_template_manager.php 2011-10-05 12:12:23.327073941 -0400
@@ -705,7 +705,7 @@
$basepath = $PREFS->ini('tmpl_file_basepath');
if ( ! ereg("/$", $basepath)) $basepath .= '/';
if ( ! preg_match("#/$#", $basepath)) $basepath .= '/';
$basepath .= $query->row['group_name'].'/'.$query->row['template_name'].'.php';
@@ -736,7 +736,7 @@
$basepath = $PREFS->ini('tmpl_file_basepath');
if ( ! ereg("/$", $basepath)) $basepath .= '/';
if ( ! preg_match("#/$#", $basepath)) $basepath .= '/';
$basepath .= $group_name.'/'.$template_name.'.php';
@@ -891,7 +891,7 @@
$qs = ($PREFS->ini('force_query_string') == 'y') ? '' : '?';
$sitepath = $FNS->fetch_site_index(0, 0).$qs.'URL='.$FNS->fetch_site_index();
if ( ! ereg("/$", $sitepath))
if ( ! preg_match("#/$#", $sitepath))
$sitepath .= '/';
$viewurl = $sitepath;
Reactions are currently unavailable
Here's a patch:
--- mcp.dc_template_manager.php.orig 2010-04-25 17:54:05.000000000 -0400
+++ mcp.dc_template_manager.php 2011-10-05 12:12:23.327073941 -0400
@@ -705,7 +705,7 @@
@@ -736,7 +736,7 @@
@@ -891,7 +891,7 @@
$qs = ($PREFS->ini('force_query_string') == 'y') ? '' : '?';
$sitepath = $FNS->fetch_site_index(0, 0).$qs.'URL='.$FNS->fetch_site_index();