From 4ed1d1154aefbf4c5d505b11b66417340fd607f1 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 19 Jun 2007 19:32:52 +0000 Subject: [PATCH] --- lib/Doctrine/Export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Export.php b/lib/Doctrine/Export.php index a6680dacd..e52dcef1d 100644 --- a/lib/Doctrine/Export.php +++ b/lib/Doctrine/Export.php @@ -1051,7 +1051,7 @@ class Doctrine_Export extends Doctrine_Connection_Module foreach ($it as $file) { $e = explode('.', $file->getFileName()); - if (end($e) === 'php' && count($e) === 2) { + if (end($e) === 'php' && strpos($file->getFileName(), '.inc') === false) { require_once $file->getPathName(); } }