Minor, fix a path issue from the Great File Move. See comment about why this is written in this way.
This commit is contained in:
@@ -34,7 +34,7 @@ final class DarkConsoleXHProfPluginAPI {
|
|||||||
// stuff loaded yet so we can't just phutil_get_library_root() our way
|
// stuff loaded yet so we can't just phutil_get_library_root() our way
|
||||||
// to victory.
|
// to victory.
|
||||||
$root = __FILE__;
|
$root = __FILE__;
|
||||||
for ($ii = 0; $ii < 7; $ii++) {
|
for ($ii = 0; $ii < 6; $ii++) {
|
||||||
$root = dirname($root);
|
$root = dirname($root);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user