includes/plugins.php
changeset 724 af6a618e5c94
parent 685 17ebe24cdf85
child 769 1946d845bb25
--- a/includes/plugins.php	Sat Nov 08 22:34:27 2008 -0500
+++ b/includes/plugins.php	Sat Nov 08 22:35:05 2008 -0500
@@ -82,7 +82,10 @@
     
     while ( $row = $db->fetchrow() )
     {
-      $this->load_list[] = $row['plugin_filename'];
+      if ( file_exists(ENANO_ROOT . "/plugins/{$row['plugin_filename']}") )
+      {
+        $this->load_list[] = $row['plugin_filename'];
+      }
     }
     
     $this->loaded_plugins = $this->get_plugin_list($this->load_list);