From c7b79372ccfde3262c32dd65c1093e2698d73053 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Mon, 24 Sep 2007 18:46:11 +0000 Subject: [PATCH] Fixes. --- lib/Doctrine/Resource/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Resource/Client.php b/lib/Doctrine/Resource/Client.php index 2c42a51f4..3a1411d17 100644 --- a/lib/Doctrine/Resource/Client.php +++ b/lib/Doctrine/Resource/Client.php @@ -54,7 +54,7 @@ class Doctrine_Resource_Client extends Doctrine_Resource { $path = '/tmp/' . md5(serialize($this->getConfig())); - if (file_exists($path)) { + if (!file_exists($path)) { $schema = file_get_contents($path); } else { $request = new Doctrine_Resource_Request();