| 1 |
<?php |
<?php |
| 2 |
// $Id: aurigma.module,v 1.2 2009/03/12 20:35:44 awolfey Exp $ |
// $Id: aurigma.module,v 1.2.2.1 2009/03/29 23:12:04 awolfey Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 165 |
$licensekey = variable_get('aurigma_licensekey', ''); |
$licensekey = variable_get('aurigma_licensekey', ''); |
| 166 |
$rotate = variable_get('aurigma_rotate', 'TRUE'); |
$rotate = variable_get('aurigma_rotate', 'TRUE'); |
| 167 |
// Convert from MB to bytes. |
// Convert from MB to bytes. |
| 168 |
$maxfilesize = 1024*1024*variable_get('aurigma_maxfilesize', 0); |
$maxfilesize = (variable_get('aurigma_maxfilesize', 0) > 0) ? round(1024*1024*variable_get('aurigma_maxfilesize', 0)) : 0; |
| 169 |
$maxtotalsize = 1024*1024*variable_get('aurigma_maxtotalsize', 0); |
$maxtotalsize = (variable_get('aurigma_maxtotalsize', 0) > 0) ? round(1024*1024*variable_get('aurigma_maxtotalsize', 0)) : 0; |
| 170 |
$maxfilecount = variable_get('aurigma_maxfilecount', 0); |
$maxfilecount = variable_get('aurigma_maxfilecount', 0); |
| 171 |
$params = aurigma_clean_params(variable_get('aurigma_params', '')); |
$params = aurigma_clean_params(variable_get('aurigma_params', '')); |
| 172 |
|
|