You are here

function video_install in Video 7.2

Same name and namespace in other branches
  1. 5 video.install \video_install()
  2. 6.5 video.install \video_install()
  3. 6 video.install \video_install()
  4. 6.2 video.install \video_install()
  5. 6.3 video.install \video_install()
  6. 6.4 video.install \video_install()
  7. 7 video.install \video_install()

Implements hook_install().

File

./video.install, line 235
Provides installation schema for video.module @author Heshan Wanigasooriya <heshan@heidisoft.com>

Code

function video_install() {

  // Create the videos directory and ensure it's writable.
  $directory = file_default_scheme() . '://videos';
  file_prepare_directory($directory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS);
}