includes/common.php
changeset 378 c1c7fa6b329f
parent 372 5bd429428101
child 406 7468a663315f
--- a/includes/common.php	Sat Jan 26 15:42:32 2008 -0500
+++ b/includes/common.php	Sun Jan 27 22:57:40 2008 -0500
@@ -283,7 +283,8 @@
 // Load plugins from common because we can't give plugins full abilities in object context
 foreach ( $plugins->load_list as $f )
 {
-  include_once $f;
+  if ( file_exists($f) )
+    include_once $f;
 }
 
 profiler_log('Loaded plugins');