Permalink
Browse files

Fix really silly bug -sorry

  • Loading branch information...
1 parent ba725b9 commit b168a16bc067f4b1dd1f912acf4082c95b99ebbb @tonydspaniard committed Jan 16, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 extensions/EHttpClient/EHttpClient.php
@@ -41,7 +41,11 @@
* @category Yii
* @package EHttpClient
*/
-Yii::import('site.common.components.httpclient.adapter.*');
+$adapters = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'adapter';
+
+Yii::setPathOfAlias('adapters', $adapters);
+
+Yii::import('adapters.*');
class EHttpClient {
/**

0 comments on commit b168a16

Please sign in to comment.