// Set new prefix (temporary!)
$this->prefix = "config-";
+ $this->preLen = strlen($this->prefix);
// Set base directory
- $basePath = sprintf("%s/inc/config/", PATH);
+ $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);
}
}