Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Bugfix: Install failed to store path for PHP > 5 #1135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/install/process.php
Expand Up @@ -92,7 +92,7 @@ function cleanPath($path)
$project_path = cleanPath($project_path);

if (!isAbsPath($project_path)) {
$project_path = str_replace(" ", "_", preg_replace('/[^\w-\.]/', '', $project_path));
$project_path = str_replace(" ", "_", preg_replace('/[^-\.\w]/', '', $project_path));
mkdir($workspace . "/" . $project_path);
} else {
$project_path = cleanPath($project_path);
Expand Down