includes/plugins.php
changeset 378 c1c7fa6b329f
parent 322 5f1cd51bf1be
child 379 82b991bee797
--- a/includes/plugins.php	Sat Jan 26 15:42:32 2008 -0500
+++ b/includes/plugins.php	Sun Jan 27 22:57:40 2008 -0500
@@ -39,7 +39,9 @@
             {
               $this->load_list[] = $dir . $file;
               $plugid = substr($file, 0, strlen($file)-4);
-              $f = file_get_contents($dir . $file);
+              $f = @file_get_contents($dir . $file);
+              if ( empty($f) )
+                continue;
               $f = explode("\n", $f);
               $f = array_slice($f, 2, 7);
               $f[0] = substr($f[0], 13);