Differential D15788 Diff 38040 src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
Show First 20 Lines • Show All 268 Lines • ▼ Show 20 Lines | foreach ($cluster as $index => $peer) { | ||||
} | } | ||||
} | } | ||||
$this->configData = $data; | $this->configData = $data; | ||||
$this->configPath = $full_path; | $this->configPath = $full_path; | ||||
$pid_path = $this->getPIDPath(); | $pid_path = $this->getPIDPath(); | ||||
try { | try { | ||||
$dir = dirname($path); | $dir = dirname($pid_path); | ||||
if (!Filesystem::pathExists($dir)) { | if (!Filesystem::pathExists($dir)) { | ||||
Filesystem::createDirectory($dir, 0755, true); | Filesystem::createDirectory($dir, 0755, true); | ||||
} | } | ||||
} catch (FilesystemException $ex) { | } catch (FilesystemException $ex) { | ||||
throw new PhutilArgumentUsageException( | throw new PhutilArgumentUsageException( | ||||
pht( | pht( | ||||
'Failed to create directory "%s" for specified PID file. You '. | 'Failed to create directory "%s" for specified PID file. You '. | ||||
'should manually create this directory or choose a different '. | 'should manually create this directory or choose a different '. | ||||
▲ Show 20 Lines • Show All 278 Lines • Show Last 20 Lines |