| 1 |
<?php |
<?php |
| 2 |
// $Id: webfm.module,v 1.35 2009/07/22 03:31:16 robmilne Exp $ |
// $Id: webfm.module,v 1.37 2009/08/19 15:44:13 robmilne Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 8 |
*/ |
*/ |
| 9 |
|
|
| 10 |
$modulepath = drupal_get_path('module', 'webfm'); |
$modulepath = drupal_get_path('module', 'webfm'); |
|
require_once "./".$modulepath."/webfm_file.inc"; |
|
| 11 |
|
|
| 12 |
define('WEBFM_FLUSH', -1); |
define('WEBFM_FLUSH', -1); |
| 13 |
|
|
| 3018 |
exit(); |
exit(); |
| 3019 |
} |
} |
| 3020 |
|
|
| 3021 |
|
/** |
| 3022 |
|
* Views Module |
| 3023 |
|
*/ |
| 3024 |
if(module_exists('views')){ |
if(module_exists('views')){ |
| 3025 |
require_once("./".$modulepath."/webfm_views.inc"); |
require_once('./'.$modulepath.'/views/webfm_views.inc'); |
| 3026 |
|
} |
| 3027 |
|
|
| 3028 |
|
function webfm_views_api() { |
| 3029 |
|
return array( |
| 3030 |
|
'api' => 2, |
| 3031 |
|
'path' => $modulepath.'/views', |
| 3032 |
|
); |
| 3033 |
} |
} |
| 3034 |
|
|
| 3035 |
/** |
/** |