Revision 1898
Added by Luisehahne over 12 years ago
| upload.php | ||
|---|---|---|
| 4 | 4 |
* @category admin |
| 5 | 5 |
* @package media |
| 6 | 6 |
* @author Ryan Djurovich,WebsiteBaker Project |
| 7 |
* @copyright 2009-2012, WebsiteBaker Org. e.V.
|
|
| 8 |
* @link http://www.websitebaker2.org/
|
|
| 7 |
* @copyright 2009-2013, WebsiteBaker Org. e.V.
|
|
| 8 |
* @link http://www.websitebaker.org/
|
|
| 9 | 9 |
* @license http://www.gnu.org/licenses/gpl.html |
| 10 | 10 |
* @platform WebsiteBaker 2.8.x |
| 11 | 11 |
* @requirements PHP 5.2.2 and higher |
| 12 | 12 |
* @version $Id$ |
| 13 |
* @filesource $HeadURL$
|
|
| 13 |
* @filesource $HeadURL$
|
|
| 14 | 14 |
* @lastmodified $Date$ |
| 15 | 15 |
* |
| 16 | 16 |
*/ |
| ... | ... | |
| 67 | 67 |
|
| 68 | 68 |
$file_extension_string = ''; |
| 69 | 69 |
// Get list of file types to which we're supposed to append 'txt' |
| 70 |
$sql = 'SELECT ´value´ FROM ´'.TABLE_PREFIX. 'settings´ '.
|
|
| 71 |
'WHERE ´name´=\'rename_files_on_upload\'';
|
|
| 70 |
$sql = 'SELECT `value` FROM `'.TABLE_PREFIX. 'settings` '.
|
|
| 71 |
'WHERE `name`=\'rename_files_on_upload\'';
|
|
| 72 | 72 |
|
| 73 | 73 |
if($oRes = $database->query($sql)) {
|
| 74 | 74 |
$aResult = $oRes->fetchRow(MYSQL_ASSOC); |
Also available in: Unified diff
! update form module, add class frm-fieldset to fieldset, restyle error box
! update captcha iframe attribute settings