Skip to content
Snippets Groups Projects
Commit 12c2b0c7 authored by Bruno Massa's avatar Bruno Massa
Browse files

Improvements:

* [#261437] by brmassa
parent f633e06d
No related branches found
No related tags found
No related merge requests found
<?php
// $Id$
/**
* @author Bruno Massa http://drupal.org/user/67164
* @file
* Install and unistall functions for this module
*/
/**
* Implementation of hook_requirements().
*/
function fusioncharts_requirements($phase) {
$path = file_create_path() .'/fusioncharts';
if (!file_exists($path .'/MSLine.swf')) {
$requirements['charts']['title'] = t('FusionCharts');
$requirements['charts']['value'] = t('FusionCharts flash files not installed');
$requirements['charts']['severity'] = REQUIREMENT_ERROR;
$requirements['charts']['description'] = t('Put all flash files inside %dir.', array('%dir' => $path));
return $requirements;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment