Changeset 93660 in spip-zone
- Timestamp:
- Dec 13, 2015, 3:02:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/vertebres/vertebres_pipelines.php
r93630 r93660 49 49 // on verifie si on demande une vue de table 50 50 if (!$squelette = $flux['data'] 51 AND$fond = $flux['args']['fond']52 ANDstrncmp($fond, 'prive/vertebres:', 16) == 053 AND$table = substr($fond, 16)54 ANDinclude_spip('inc/autoriser')55 ANDautoriser('webmestre')51 and $fond = $flux['args']['fond'] 52 and strncmp($fond, 'prive/vertebres:', 16) == 0 53 and $table = substr($fond, 16) 54 and include_spip('inc/autoriser') 55 and autoriser('webmestre') 56 56 ) { 57 57 … … 65 65 $fond = $table; 66 66 $base = _DIR_VERTEBRES . 'table_' . $fond . ".$ext"; 67 if (!file_exists($base) OR (defined('_VAR_MODE') AND_VAR_MODE)) {67 if (!file_exists($base) or (defined('_VAR_MODE') and _VAR_MODE)) { 68 68 sous_repertoire(_DIR_VERTEBRES); 69 69 $vertebrer = charger_fonction('vertebrer', 'public');
Note: See TracChangeset
for help on using the changeset viewer.