From 6ea1f5bb82f00d65568acaa153d6a99c61ac3558 Mon Sep 17 00:00:00 2001
From: x <hj.q@qq.com>
Date: Sun, 27 Dec 2015 23:38:47 +0800
Subject: [PATCH] update

---
 .gitignore    | 1 +
 QueryList.php | 6 +++---
 composer.json | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index 57872d0..20a939e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /vendor/
+.idea/
\ No newline at end of file
diff --git a/QueryList.php b/QueryList.php
index a5f0712..974c91c 100644
--- a/QueryList.php
+++ b/QueryList.php
@@ -2,7 +2,7 @@
 
 namespace QL;
 
-use phpQuery,Exception;
+use phpQuery,Exception,ReflectionClass;
 
 /**
  * QueryList
@@ -94,7 +94,7 @@ class QueryList
      */
     public static function run($class,$args = array())
     {
-        $extension = self::getInstance($class);
+        $extension = self::getInstance("QL\\Ext\\{$class}");
         return $extension->run($args);
     }
 
@@ -113,7 +113,7 @@ class QueryList
            throw new Exception("no class {$className}");
        }
        if(!isset(self::$instances[$key])) {
-            $rc = new \ReflectionClass($className);
+            $rc = new ReflectionClass($className);
            self::$instances[$key] =  $rc->newInstanceArgs($args);
        }
        return self::$instances[$key];
diff --git a/composer.json b/composer.json
index 8517664..ee4462a 100644
--- a/composer.json
+++ b/composer.json
@@ -5,8 +5,8 @@
         "PHP":">=5.3.0",
         "jaeger/phpquery-single": "^0.9.5",
         "jaeger/querylist-ext-aquery":"dev-master",
-        "jaeger/curlmulti":"dev-master",
-        "jaeger/http":"dev-master"
+        "jaeger/querylist-ext-request":"dev-master",
+        "jaeger/curlmulti":"dev-master"
     },
     "license": "MIT",
     "authors": [