Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1175065
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Oct 3, 1:13 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Sun, Oct 5, 1:13 PM (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
761970
Attached To
rINP In-Portal
in-portal
View Options
Index: branches/5.1.x/core/install/step_templates/fix_paths.tpl
===================================================================
--- branches/5.1.x/core/install/step_templates/fix_paths.tpl (revision 13380)
+++ branches/5.1.x/core/install/step_templates/fix_paths.tpl (revision 13381)
@@ -1,21 +1,21 @@
<?php
$config_vars = Array ('Site_Path', 'Site_Name', 'Backup_Path');
$sql = 'SELECT Prompt, VariableName
- FROM ' . TABLE_PREFIX . 'ConfigurationAdmin
+ FROM ' . TABLE_PREFIX . 'ConfigurationValues
WHERE VariableName IN ("' . implode('","', $config_vars) . '")';
$config_labels = $this->Conn->GetCol($sql, 'VariableName');
$odd_even = true;
foreach ($config_vars as $config_var) {
?>
<tr class="<?php echo $odd_even ? 'table-color1' : 'table-color2'; ?>">
<td class="text"><b><?php echo $this->Application->Phrase( $config_labels[$config_var] ); ?>:</b></td>
<td align="left">
<input type="text" name="config[<?php echo $config_var; ?>]" class="text" size="50" value="<?php echo $this->Application->ConfigValue($config_var); ?>" />
</td>
</tr>
<?php
$odd_even = $odd_even ? false : true;
}
?>
\ No newline at end of file
Event Timeline
Log In to Comment