From aa9395e38fc9df5c4c3a061e4040e903bf37c383 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sun, 24 Apr 2016 06:33:59 -0700 Subject: [PATCH] Fix bad variable causing `aphlict` to fail to start with no "logs" config Summary: Fixes T10863. See that task for discussion. Test Plan: - Configured `aphlict` with no "logs". - Started `aphlict`. - Before change: exception. - After change: worked. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10863 Differential Revision: https://secure.phabricator.com/D15788 --- .../aphlict/management/PhabricatorAphlictManagementWorkflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php index 3f9620d3be..b799d0ef90 100644 --- a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php +++ b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php @@ -274,7 +274,7 @@ abstract class PhabricatorAphlictManagementWorkflow $pid_path = $this->getPIDPath(); try { - $dir = dirname($path); + $dir = dirname($pid_path); if (!Filesystem::pathExists($dir)) { Filesystem::createDirectory($dir, 0755, true); }