Ok, well, I saw what I think is an error in the code there:
if ( strpos($plugin, '/') && $this_plugin_dir != $plugins_dir )
Should have been
if ( strpos($plugin, '/') && ( $this_plugin_dir != $plugins_dir )
Yes?
But then I got an error about an unexpected T_VARIABLE on line 154.
Long story short, I commented out lines 152 to 155, and now I see the welcome screen. So I’ll see if I’m OK from here on in.
Hope I didn’t skip something ultra-important. Looks harmless enough from here!
D.