[geeklog-cvs] geeklog-1.3/public_html usersettings.php,1.75,1.76

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
In directory geeklog_prod:/tmp/cvs-serv529/public_html

Modified Files:
	usersettings.php 
Log Message:
Added $_CONF['debug_image_upload'] flag to enable debug messages for the image upload.


Index: usersettings.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/usersettings.php,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** usersettings.php	14 Sep 2003 22:40:56 -0000	1.75
--- usersettings.php	20 Sep 2003 16:50:35 -0000	1.76
***************
*** 706,709 ****
--- 706,713 ----
                  }
                  $upload->setAutomaticResize(true);
+                 if (isset ($_CONF['debug_image_upload']) && $_CONF['debug_image_upload']) {
+                     $upload->setLogFile ($_CONF['path'] . 'logs/error.log');
+                     $upload->setDebug (true);
+                 }
              }
              $upload->setAllowedMimeTypes(array('image/gif'=>'.gif','image/jpeg'=>'.jpg,.jpeg','image/pjpeg'=>'.jpg,.jpeg','image/x-png'=>'.png','image/png'=>'.png'));





More information about the geeklog-cvs mailing list