[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.106,1.107
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Sat Sep 20 12:50:37 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory geeklog_prod:/tmp/cvs-serv529/public_html/admin
Modified Files:
story.php
Log Message:
Added $_CONF['debug_image_upload'] flag to enable debug messages for the image upload.
Index: story.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** story.php 11 Sep 2003 19:06:30 -0000 1.106
--- story.php 20 Sep 2003 16:50:35 -0000 1.107
***************
*** 860,863 ****
--- 860,867 ----
}
$upload->setAutomaticResize(true);
+ if (isset ($_CONF['debug_image_upload']) && $_CONF['debug_image_upload']) {
+ $upload->setLogFile ($_CONF['path'] . 'logs/error.log');
+ $upload->setDebug (true);
+ }
if ($_CONF['keep_unscaled_image'] == 1) {
$upload->keepOriginalImage (true);
More information about the geeklog-cvs
mailing list