You are here

function js_injector_install in JS injector 8

Same name and namespace in other branches
  1. 6.2 js_injector.install \js_injector_install()
  2. 6 js_injector.install \js_injector_install()
  3. 7.2 js_injector.install \js_injector_install()
  4. 7 js_injector.install \js_injector_install()

Implements hook_install().

File

./js_injector.install, line 12
js_injector.install

Code

function js_injector_install() {

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