From 66fa1ca8e3ae25af82fb43fb9f79342fc3f65787 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Sun, 26 Nov 2017 13:21:28 +0100 Subject: fixed some bugs in create story workflow, gitignore added --- createStory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'createStory.php') diff --git a/createStory.php b/createStory.php index 906a302..6a115d9 100644 --- a/createStory.php +++ b/createStory.php @@ -13,7 +13,7 @@ $storyName = getMandatoryPostParameter('story-name', '', true); $storyLogoFile = getOptionalPostParameter('story-logo'); $storyDescription = getOptionalPostParameter('story-description'); -$pathToStory = __DIR__.DIRECTORY_SEPARATOR.generateDirectoryName($storyName); +$pathToStory = __DIR__.DIRECTORY_SEPARATOR.'stories'.DIRECTORY_SEPARATOR.generateDirectoryName($storyName); $result = createEntity($pathToStory, $storyDescription, $storyLogoFile, 'logo.png'); if (TRUE !== $result) { -- cgit v1.2.3