Changeset 1506 in ExiteCMS for modules/common/download_statistics/php-files/modules/download_statistics/admin.php
- Timestamp:
- 07/02/08 17:27:46 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/download_statistics/php-files/modules/download_statistics/admin.php
r1481 r1506 137 137 } 138 138 } 139 $title = stripinput($_POST['dlstats_title']); 139 140 $remote = IsNum($_POST['dlstats_remote']) ? $_POST['dlstats_remote'] : 0; 140 141 $google_key = stripinput($_POST['dlstats_google_api_key']); … … 147 148 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".$remote."' WHERE cfg_name = 'dlstats_remote'"); 148 149 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".$google_key."' WHERE cfg_name = 'dlstats_google_api_key'"); 150 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".$title."' WHERE cfg_name = 'dlstats_title'"); 149 151 redirect(FUSION_SELF.$aidlink."&status=cs"); 150 152 exit; … … 161 163 $settings2['dlstats_remote'] = $remote; 162 164 $settings2['dlstats_google_api_key'] = $google_key; 165 $settings2['dlstats_title'] = $title; 163 166 } 164 167 // reset the action switch to return to the default action
Note: See TracChangeset
for help on using the changeset viewer.
