Browse Source

Add constructor documentation

tags/v6.0.0alpha2
Bart Visscher 11 years ago
parent
commit
abe9abab99
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      lib/config.php

+ 3
- 0
lib/config.php View File

@@ -49,6 +49,9 @@ class Config {

protected $debugMode;

/**
* @param $configDir path to the config dir, needs to end with '/'
*/
public function __construct($configDir) {
$this->configDir = $configDir;
$this->configFilename = $this->configDir.'config.php';

Loading…
Cancel
Save