You are here

function event_include_files in Event 5.2

Includes files needed for this module

Related topics

8 calls to event_include_files()
event_block in ./event.module
Provides the blocks that this module is capable of displaying.
event_get_events in ./event.module
Get events between two specified dates
event_menu in ./event.module
Implementation of hook_menu()
event_nodeapi in ./event.module
hook_nodeapi implementation
event_page in ./event.module
Displays a page containing event information. The page layout defaults to a graphical calendar.

... See full list

File

./event.module, line 10

Code

function event_include_files() {
  include_once EVENT_PATH . '/event.theme';
  global $db_type;
  include_once EVENT_PATH . "/event_database.{$db_type}.inc";
  if (file_exists($file = path_to_theme() . '/event.css')) {
    drupal_add_css($file);
  }
  else {
    drupal_add_css(EVENT_PATH . '/event.css');
  }
}