Skip to content

Commit

Permalink
5.8.10 (#807)
Browse files Browse the repository at this point in the history
* Update class.plx.glob.php

* Update class.plx.show.php
  • Loading branch information
Pluxopolis authored Mar 22, 2024
1 parent 05b1faa commit 0d4b634
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/lib/class.plx.glob.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class plxGlob {
const PATTERNS = array(
'arts' => '#^\D?(\d{4,})\.(?:\w+|\d{3})(?:,\w+|,\d{3})*\.\d{3}\.\d{12}\..*\.xml$#',
'statiques' => '#^(\d{3,})\..*\.php$#',
'commentaires' => '#^\d{4,}\.(?:\d{10,})(?:-\d+)?\.xml$#'
'commentaires' => '#^_?\d{4,}\.(?:\d{10,})(?:-\d+)?\.xml$#'
);
public $count = 0; # Le nombre de resultats
public $aFiles = array(); # Tableau des fichiers
Expand Down
2 changes: 1 addition & 1 deletion core/lib/class.plx.show.php
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,7 @@ public function staticInclude($id)
# Hook Plugins
if (eval($this->plxMotor->plxPlugins->callHook('plxShowStaticInclude'))) return;
# On génère un nouvel objet plxGlob
$plxGlob_stats = plxGlob::getInstance(PLX_ROOT . $this->plxMotor->aConf['racine_statiques'], true, 'statiques');
$plxGlob_stats = plxGlob::getInstance(PLX_ROOT . $this->plxMotor->aConf['racine_statiques'], false, true, 'statiques');
if (is_numeric($id)) # inclusion à partir de l'id de la page
$regx = '/^' . str_pad($id, 3, '0', STR_PAD_LEFT) . '.[a-z0-9-]+.php$/';
else { # inclusion à partir du titre de la page
Expand Down

0 comments on commit 0d4b634

Please sign in to comment.