You are here

function flipping_book_prepare_directory in Flipping Book 7

Helper function: creates flipping book import directory.

2 calls to flipping_book_prepare_directory()
flipping_book_install in ./flipping_book.install
Implements hook_install().
flipping_book_settings_form_submit in includes/flipping_book.admin.inc
Submit callback.

File

./flipping_book.module, line 184
Manage Flipping Book packages into Drupal

Code

function flipping_book_prepare_directory() {
  $directory = flipping_book_dir();
  file_prepare_directory($directory, FILE_CREATE_DIRECTORY);
}