function phantomjs_capture_install in PhantomJS Capture 8
Same name and namespace in other branches
- 7 phantomjs_capture.install \phantomjs_capture_install()
Implements hook_install().
File
- ./
phantomjs_capture.install, line 8
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);
}