Révision 30d5b9c5
Ajouté par Mathieu Schiano Di Schiabica il y a environ 8 ans
drupal7/includes/bootstrap.inc | ||
---|---|---|
8 | 8 |
/** |
9 | 9 |
* The current system version. |
10 | 10 |
*/ |
11 |
define('VERSION', '7.41');
|
|
11 |
define('VERSION', '7.42');
|
|
12 | 12 |
|
13 | 13 |
/** |
14 | 14 |
* Core API compatibility. |
... | ... | |
2786 | 2786 |
} |
2787 | 2787 |
|
2788 | 2788 |
/** |
2789 |
* Returns the default language used on the site
|
|
2789 |
* Returns the default language, as an object, or one of its properties.
|
|
2790 | 2790 |
* |
2791 | 2791 |
* @param $property |
2792 |
* Optional property of the language object to return |
|
2792 |
* (optional) The property of the language object to return. |
|
2793 |
* |
|
2794 |
* @return |
|
2795 |
* Either the language object for the default language used on the site, |
|
2796 |
* or the property of that object named in the $property parameter. |
|
2793 | 2797 |
*/ |
2794 | 2798 |
function language_default($property = NULL) { |
2795 | 2799 |
$language = variable_get('language_default', (object) array('language' => 'en', 'name' => 'English', 'native' => 'English', 'direction' => 0, 'enabled' => 1, 'plurals' => 0, 'formula' => '', 'domain' => '', 'prefix' => '', 'weight' => 0, 'javascript' => '')); |
Formats disponibles : Unified diff
Update to 7.42