6 public function __construct()
8 $this->reposDir = $GLOBALS['phorkie']['cfg']['repos'];
14 public function createNew()
16 chdir($this->reposDir);
17 $dirs = glob('*', GLOB_ONLYDIR);
18 sort($dirs, SORT_NUMERIC);
22 $dir = $this->reposDir . '/' . $n . '/';
23 mkdir($dir, 0777);//FIXME
24 $r = new Repository();