fix: remove commented code
This commit is contained in:
parent
6f1f78fc33
commit
f87ada6c15
1 changed files with 0 additions and 10 deletions
10
bin/cfg
10
bin/cfg
|
|
@ -320,16 +320,6 @@ $appPath = $argv->find('appPath');
|
|||
if (!$appPath) $appPath = getcwd().'/';
|
||||
$appPath = rtrim($appPath, '/').'/';
|
||||
|
||||
/* $it = new RecursiveDirectoryIterator($appPath);
|
||||
|
||||
foreach(new RecursiveIteratorIterator($it) as $file)
|
||||
{
|
||||
$configDir = $file->getPath();
|
||||
if ($file->isDir() && $file->getFilename() == '.' && basename($configDir) == 'config') {
|
||||
echo "found config dir: $configDir\n";
|
||||
}
|
||||
}
|
||||
*/
|
||||
$mode = ($argv->find('mode') == '') ? null : $argv->find('mode');
|
||||
$cfg = (new Settings([], $mode))->appPath($appPath)->prefix($prefix);
|
||||
// pkgPath points to package defaults (e.g. <prefix>.default.conf.php)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue