[geeklog-cvs] Geeklog-1.x/public_html/admin plugins.php,1.83,1.84

Dirk Haun dhaun at qs1489.pair.com
Thu Sep 18 15:09:42 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin
In directory qs1489.pair.com:/tmp/cvs-serv83933/public_html/admin

Modified Files:
	plugins.php 
Log Message:
Fixed searching for non-installed plugins when open_basedir restrictions are in effect (bug #0000741)


Index: plugins.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins.php,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -d -r1.83 -r1.84
*** plugins.php	7 Jun 2008 12:41:44 -0000	1.83
--- plugins.php	18 Sep 2008 19:09:38 -0000	1.84
***************
*** 250,255 ****
      $data_arr = array();
      while (($dir = @readdir ($fd)) == TRUE) {
!         if (is_dir ($plugins_dir . $dir) && ($dir <> '.') && ($dir <> '..') &&
!                 ($dir <> 'CVS') && (substr ($dir, 0 , 1) <> '.')) {
              clearstatcache ();
              // Check and see if this plugin is installed - if there is a record.
--- 250,255 ----
      $data_arr = array();
      while (($dir = @readdir ($fd)) == TRUE) {
!         if (($dir <> '.') && ($dir <> '..') && ($dir <> 'CVS') &&
!                 (substr($dir, 0 , 1) <> '.') && is_dir($plugins_dir . $dir)) {
              clearstatcache ();
              // Check and see if this plugin is installed - if there is a record.




More information about the geeklog-cvs mailing list