with mysql pgsql intl support
$ brew install php --with-apache --with-mysql --with-pgsql --with-intl
date.timezone = Europe/Vienna
AZHU.storage = { | |
save : function(key, jsonData, expirationMin){ | |
if (!Modernizr.localstorage){return false;} | |
var expirationMS = expirationMin * 60 * 1000; | |
var record = {value: JSON.stringify(jsonData), timestamp: new Date().getTime() + expirationMS} | |
localStorage.setItem(key, JSON.stringify(record)); | |
return jsonData; | |
}, | |
load : function(key){ | |
if (!Modernizr.localstorage){return false;} |
<?php | |
module_load_include('inc', 'ctools', 'includes/export'); | |
// Load base enpoint and adding config for new subsite. | |
$base_taxonomy_endpoint = multisite_indicator_server_deploy_endpoints_default(); | |
$endpoint = $base_taxonomy_endpoint['base_taxonomy_endpoint']; | |
$endpoint_url = $term->field_domain[LANGUAGE_NONE][0]['url'] . '/' . $endpoint->service_config['url']; | |
// Create machine name. |