function phantomjs_capture_install in PhantomJS Capture 7
Same name and namespace in other branches
- 8 phantomjs_capture.install \phantomjs_capture_install()
Implements hook_install().
File
- ./
phantomjs_capture.install, line 6
Code
function phantomjs_capture_install() {
$directory = file_default_scheme() . '://phantomjs';
$test_directory = file_default_scheme() . '://phantomjs/test';
file_prepare_directory($directory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS, TRUE);
file_prepare_directory($test_directory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS, TRUE);
}