Skip to content

Commit

Permalink
Creeate folder recursively is necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Nov 8, 2014
1 parent a612c98 commit 076ceae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website_code/php/language/import_language.php
Expand Up @@ -106,12 +106,12 @@

if ($xot_language_found && !file_exists($xerte_toolkits_site->root_file_path . "languages/" . $lang_dir))
{
mkdir($xerte_toolkits_site->root_file_path . "languages/" . $lang_dir);
mkdir($xerte_toolkits_site->root_file_path . "languages/" . $lang_dir, 0755, true);
}

if ($nottingham_language_found && !file_exists($xerte_toolkits_site->root_file_path . "modules/xerte/parent_templates/Nottingham/wizards/" . $lang_dir))
{
mkdir($xerte_toolkits_site->root_file_path . "modules/xerte/parent_templates/Nottingham/wizards/" . $lang_dir);
mkdir($xerte_toolkits_site->root_file_path . "modules/xerte/parent_templates/Nottingham/wizards/" . $lang_dir. 0755, true);
}

/*
Expand Down

0 comments on commit 076ceae

Please sign in to comment.