[mythtv-commits] Ticket #7997: open_basedir error due to module loading bug

MythTV mythtv at cvs.mythtv.org
Sun Jan 31 17:58:38 UTC 2010


#7997: open_basedir error due to module loading bug
-----------------------------------------+----------------------------------
 Reporter:  christian.bachert@…          |       Owner:  kormoc 
     Type:  defect                       |      Status:  new    
 Priority:  minor                        |   Milestone:  unknown
Component:  Plugin - MythWeb             |     Version:  unknown
 Severity:  medium                       |     Mlocked:  0      
-----------------------------------------+----------------------------------

Comment(by anonymous):

 here was my fix, insert text with +++ below in Modules.php around line 26



 {{{

 if (modules_path && modules_path != 'modules_path') {
      foreach (get_sorted_files(modules_path) as $module) {
 +++        if (is_file (modules_path."/$module"))
 +++             continue;
         if (preg_match('/^_/', $module))
              continue;
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7997#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list