Difference between revisions of "Alterations in Drupal"
Jump to navigation
Jump to search
(New page: All edits are made to core Drupal files. Files with extension type .inc are generally found in the includes folder of the site. ==image.inc== (line 117) change: <pre> if (!is_file($file...) |
(No difference)
|
Latest revision as of 11:53, 22 January 2009
All edits are made to core Drupal files. Files with extension type .inc are generally found in the includes folder of the site.
image.inc
(line 117)
change:
if (!is_file($file)) {
to:
if (!is_uploaded_file($file) && !is_file($file)) {
file.inc
(line 572)
change:
if (!move_uploaded_file($_FILES['files']['tmp_name'][$source], $file->filepath)) {
to:
if (!@move_uploaded_file($_FILES['files']['tmp_name'][$source], $file->filepath)) {