Corrected trailing slash correction in \ncc\Managers > ProjectManager > detectProjectPath()

This commit is contained in:
Netkas 2022-10-18 21:49:50 -04:00
parent 77d1109127
commit 52d8b3d3ef

View file

@ -63,7 +63,7 @@
/** @noinspection PhpStrFunctionsInspection */ /** @noinspection PhpStrFunctionsInspection */
if(substr($selected_directory, -1) !== '/') if(substr($selected_directory, -1) !== '/')
{ {
$selected_directory .= $selected_directory . DIRECTORY_SEPARATOR; $selected_directory .= DIRECTORY_SEPARATOR;
} }
// Detect if the folder exists or not // Detect if the folder exists or not