fix routes
controllers
: whoops
This commit is contained in:
parent
9ba85067b6
commit
3b9c309d6f
1 changed files with 3 additions and 3 deletions
|
@ -632,10 +632,10 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
|
||||||
|
|
||||||
# Place controllers directory.
|
# Place controllers directory.
|
||||||
if [[ $requests_controllers != "" ]]; then
|
if [[ $requests_controllers != "" ]]; then
|
||||||
PRINT INFO "Cloning and linking views directory.."
|
PRINT INFO "Cloning and linking controllers directory.."
|
||||||
mkdir -p ".blueprint/extensions/$identifier/controllers"
|
mkdir -p ".blueprint/extensions/$identifier/controllers"
|
||||||
cp -R ".blueprint/tmp/$n/$requests_controllers/"* ".blueprint/extensions/$identifier/controllers/" 2>> $BLUEPRINT__DEBUG
|
cp -R ".blueprint/tmp/$n/$requests_controllers/"* ".blueprint/extensions/$identifier/controllers/" 2>> $BLUEPRINT__DEBUG
|
||||||
ln -s -T $FOLDER/.blueprint/extensions/"$identifier"/views "$FOLDER/app/BlueprintFramework/Extensions/$identifier" 2>> $BLUEPRINT__DEBUG
|
ln -s -T $FOLDER/.blueprint/extensions/"$identifier"/controllers "$FOLDER/app/BlueprintFramework/Extensions/$identifier" 2>> $BLUEPRINT__DEBUG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Place routes directory.
|
# Place routes directory.
|
||||||
|
@ -643,7 +643,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
|
||||||
PRINT INFO "Cloning and linking router file.."
|
PRINT INFO "Cloning and linking router file.."
|
||||||
mkdir -p ".blueprint/extensions/$identifier/routers"
|
mkdir -p ".blueprint/extensions/$identifier/routers"
|
||||||
cp -R ".blueprint/tmp/$n/$requests_router" ".blueprint/extensions/$identifier/routers/$identifier.php" 2>> $BLUEPRINT__DEBUG
|
cp -R ".blueprint/tmp/$n/$requests_router" ".blueprint/extensions/$identifier/routers/$identifier.php" 2>> $BLUEPRINT__DEBUG
|
||||||
ln -s -T $FOLDER/.blueprint/extensions/"$identifier"/routers "$FOLDER/routes/blueprint/extensions/$identifier" 2>> $BLUEPRINT__DEBUG
|
ln -T ".blueprint/extensions/$identifier/routers/$identifier.php" "$FOLDER/routes/blueprint/extensions/$identifier.php" 2>> $BLUEPRINT__DEBUG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create, link and connect components directory.
|
# Create, link and connect components directory.
|
||||||
|
|
Loading…
Reference in a new issue