spip_nursit/plugins/dist/squelettes/spipr-dist-v2/spipr_dist_options.php

20 lines
538 B
PHP
Raw Permalink Normal View History

2023-06-01 15:30:12 +00:00
<?php
if (!isset($GLOBALS['z_blocs'])) {
$GLOBALS['z_blocs'] = array('content', 'aside', 'extra', 'head', 'head_js', 'header', 'footer', 'breadcrumb', 'cartouche');
}
define('_ZENGARDEN_FILTRE_THEMES', 'spiprv2');
define('_ALBUMS_INSERT_HEAD_CSS', false);
if (
defined('_SPIPR_AUTH_DEMO')
? _SPIPR_AUTH_DEMO
: (
isset($GLOBALS['visiteur_session']['statut'])
and $GLOBALS['visiteur_session']['statut'] === '0minirezo'
and $GLOBALS['visiteur_session']['webmestre'] === 'oui'
)
) {
_chemin(_DIR_PLUGIN_SPIPR_DIST . "demo/");
}