+
+ /**
+ * Load extra config files
+ *
+ * @return void
+ */
+ public function loadExtraConfigs () {
+ // Backup old prefix
+ $oldPrefix = $this->prefix;
+
+ // Set new prefix (temporary!)
+ $this->prefix = "config-";
+ $this->preLen = strlen($this->prefix);
+
+ // Set base directory
+ $basePath = sprintf("%sinc/config/", PATH);
+
+ // Load all classes from the config directory
+ $this->loadClasses($basePath);
+
+ // Set the prefix back
+ $this->prefix = $oldPrefix;
+ $this->preLen = strlen($this->prefix);
+ }