Same name in other branches
- 7.x-2.x advagg.module \advagg_menu()
Implements hook_menu().
File
-
./
advagg.module, line 33
Code
function advagg_menu() {
list($css_path, $js_path) = advagg_get_root_files_dir();
$file_path = drupal_get_path('module', 'advagg') . '/includes';
$items = array();
$items[$css_path . '/%'] = array(
'page callback' => 'advagg_missing_css',
'type' => MENU_CALLBACK,
'access callback' => TRUE,
'file path' => $file_path,
'file' => 'missing.inc',
);
$items[$js_path . '/%'] = array(
'page callback' => 'advagg_missing_js',
'type' => MENU_CALLBACK,
'access callback' => TRUE,
'file path' => $file_path,
'file' => 'missing.inc',
);
return $items;
}