Permalink
Browse files

calling $this->add_package_path(SHARED_ADDONPATH); before parent cons…

…truct was preventing PyroCMS from loading libraries directly from /addons/shared_addons
  • Loading branch information...
1 parent 237f567 commit f07ed530b34fcb05ed0afca2bc34ecffd11aba3d @EmilioBravo EmilioBravo committed Jun 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 system/cms/core/MY_Loader.php
View
4 system/cms/core/MY_Loader.php
@@ -19,9 +19,9 @@ public function __construct()
define('SPARKPATH', 'system/sparks/');
}
- $this->add_package_path(SHARED_ADDONPATH);
-
parent::__construct();
+
+ $this->add_package_path(SHARED_ADDONPATH);
}
/**

0 comments on commit f07ed53

Please sign in to comment.