includes/plugins.php
changeset 735 f191cb6bd0ca
parent 724 af6a618e5c94
child 769 1946d845bb25
--- a/includes/plugins.php	Sun Nov 09 14:22:03 2008 -0500
+++ b/includes/plugins.php	Sun Nov 09 14:22:41 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);