[geeklog-cvs] geeklog-1.3/public_html/admin user.php,1.53,1.54

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Thu Jun 19 13:52:25 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory internal.geeklog.net:/tmp/cvs-serv26526

Modified Files:
	user.php 
Log Message:
Bugfix: setAllowedMimeTypes() uses MIME type / extension pairs now - but the extension was missing for the user batch import.


Index: user.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/user.php,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** user.php	16 Jun 2003 08:53:53 -0000	1.53
--- user.php	19 Jun 2003 17:52:23 -0000	1.54
***************
*** 383,387 ****
      $upload = new upload();
      $upload->setPath($_CONF['path']);
!     $upload->setAllowedMimeTypes(array('text/plain'));
      $upload->setFileNames('user_import_file.txt');
      if ($upload->uploadFiles()) {
--- 383,387 ----
      $upload = new upload();
      $upload->setPath($_CONF['path']);
!     $upload->setAllowedMimeTypes(array('text/plain'=>'.txt'));
      $upload->setFileNames('user_import_file.txt');
      if ($upload->uploadFiles()) {





More information about the geeklog-cvs mailing list