You are here

function tinybrowser_install in TinyBrowser 7

Implements hook_install().

File

./tinybrowser.install, line 11
Install, update and uninstall functions for tinybrowser module.

Code

function tinybrowser_install() {
  $tinymce_root = tinybrowser_get_tinymce_root();
  variable_set('tinybrowser_tinymce_root', $tinymce_root);

  // install default role profiles
  include_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'tinybrowser') . '/tinybrowser.profile.inc';
  tinybrowser_install_profiles();
}