# HG changeset patch # User Dan # Date 1201572645 18000 # Node ID 1030864dc31927d584490428f8bdd191b8a90a56 # Parent 2ccb55995aefd54335054e3dddded8951bd33359 Fixed SYSMSG tag in templates causing problems; commented out ENANO_DEBUG; fixed bad table prefix in installer payload logic diff -r 2ccb55995aef -r 1030864dc319 includes/template.php --- a/includes/template.php Sun Jan 27 23:45:53 2008 -0500 +++ b/includes/template.php Mon Jan 28 21:10:45 2008 -0500 @@ -1111,7 +1111,7 @@ // // System messages - $text = preg_replace('//is', '\' . $this->tplWikiFormat($paths->sysMsg(\'\\1\')) . \'', $text); + $text = preg_replace('//is', '\' . $template->tplWikiFormat($paths->sysMsg(\'\\1\')) . \'', $text); // Template variables $text = preg_replace('/\{([A-z0-9_-]+?)\}/is', '\' . $this->tpl_strings[\'\\1\'] . \'', $text); diff -r 2ccb55995aef -r 1030864dc319 index.php --- a/index.php Sun Jan 27 23:45:53 2008 -0500 +++ b/index.php Mon Jan 28 21:10:45 2008 -0500 @@ -19,7 +19,7 @@ define('ENANO_INTERFACE_INDEX', ''); // For the mighty and brave. - define('ENANO_DEBUG', ''); + // define('ENANO_DEBUG', ''); // Set up gzip encoding before any output is sent diff -r 2ccb55995aef -r 1030864dc319 install/includes/payload.php --- a/install/includes/payload.php Sun Jan 27 23:45:53 2008 -0500 +++ b/install/includes/payload.php Mon Jan 28 21:10:45 2008 -0500 @@ -127,7 +127,7 @@ $wkt = $db->escape($wkt); $vars = array( - 'TABLE_PREFIX' => $_POST['table_prefix'], + 'TABLE_PREFIX' => table_prefix, 'SITE_NAME' => $db->escape($_POST['site_name']), 'SITE_DESC' => $db->escape($_POST['site_desc']), 'COPYRIGHT' => $db->escape($_POST['copyright']),