summaryrefslogtreecommitdiffstats
path: root/createStory.php
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2017-11-26 13:21:28 +0100
committersteckbrief <steckbrief@chefmail.de>2017-11-26 13:21:28 +0100
commit66fa1ca8e3ae25af82fb43fb9f79342fc3f65787 (patch)
tree2d24e12beda1a9cef4d0c66399877b3069288da7 /createStory.php
parentd6dfb30a86deb8278732904cee0b05a9cfa230e2 (diff)
fixed some bugs in create story workflow, gitignore added
Diffstat (limited to '')
-rw-r--r--createStory.php2
1 files changed, 1 insertions, 1 deletions
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) {