Changeset 256
- Timestamp:
- May 9, 2007 3:06:24 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/codebase_v1-to-v2_upgrade_checklist.txt
r255 r256 113 113 sslOff(); $app->sslOff(); 114 114 115 The following regex will find any of the above: 116 (?<!raiseMsg|logMsg|include|ohref|printHiddenSession|dieURL|dieBoomerangURL|setBoomerangURL|getBoomerangURL|validBoomerangURL|deleteBoomerangURL|sslOn|sslOff) 117 118 Also convert all site config variables, as earlier: 115 119 $CFG->site_name $app->getParam('site_name') 116 120 … … 175 179 ===================================================================== 176 180 177 Massive changes. See quinn.181 Massive changes. See Quinn. 178 182 179 183 ===================================================================== -
trunk/docs/example_config.inc.php
r252 r256 60 60 61 61 'log_directory' => COMMON_BASE . '/log', 62 'log_filename' => 'site .log',62 'log_filename' => 'site_log', 63 63 'log_file_priority' => LOG_DEBUG, 64 64 'log_email_priority' => false, -
trunk/lib/ImageThumb.inc.php
r247 r256 226 226 227 227 return $final_spec; 228 } 229 230 /* 231 * Retreive a value of a thumb specification. 232 * 233 * @access public 234 * @param string $key Key to return. See _default_image_specs above for a list. 235 * @param int $index The index in the spec array of the value to retreive. The first if not specified. 236 * @return mixed Value of requested index. 237 * @author Quinn Comendant <quinn@strangecode.com> 238 * @version 1.0 239 * @since 08 May 2007 15:26:39 240 */ 241 function getSpec($key, $index=null) 242 { 243 $index = isset($index) ? $index : 0; 244 return $this->_image_specs[$index][$key]; 228 245 } 229 246 … … 570 587 // Sharpen image using a custom filter matrix. 571 588 if (phpversion() > '5.1' && true === $spec['sharpen'] && $spec['sharpen_value'] > 0) { 572 $sharpen_value = round((((48 - 10) / (100 - 1)) * (100 - $spec['sharpen_value'])) + 10); 589 $sharpen_value = round((((48 - 10) / (100 - 1)) * (100 - $spec['sharpen_value'])) + 10); /// WTF is this math? 573 590 imageconvolution($dest_image_resource, array(array(-1,-1,-1),array(-1,$sharpen_value,-1),array(-1,-1,-1)), ($sharpen_value - 8), 0); 574 591 } -
trunk/lib/Upload.inc.php
r247 r256 117 117 * @access public 118 118 * @param string $form_name The name of the form to process. 119 * @param string $custom_file_name The new name of the file. An array of filename in the case of multiple files.119 * @param string $custom_file_name The new name of the file. An array of filenames in the case of multiple files. 120 120 * @return mixed Returns FALSE if a major error occured preventing any file uploads. 121 121 * Returns an empty array if any minor errors occured or no files were found. … … 186 186 } else { 187 187 // Multiple upload. Final file names must be array. 188 if (isset($custom_file_name) && is_array($custom_file_name) && is_array($custom_file_name[$i]) &&'' != $custom_file_name[$i]) {188 if (isset($custom_file_name) && is_array($custom_file_name) && '' != $custom_file_name[$i]) { 189 189 // Valid custom file name. 190 190 $file_name = $custom_file_name[$i];
Note: See TracChangeset
for help on using the changeset viewer.