Skip to content
Permalink
Browse files

sanitize docs site title

  • Loading branch information...
OrenMe committed Mar 18, 2019
1 parent 33760b2 commit 6c823a921d698dd58e04695319b98e3baf6a37e1
Showing with 7 additions and 1 deletion.
  1. +7 −1 docs/doc-base.php
@@ -58,7 +58,13 @@
}
// Set page title if avaliable from path:
$kdocPageTitle = $path;
$allowedPages = Array('api', 'resources', 'contact', 'templates', 'customersamples', 'advertising', 'main');
if (in_array($path, $allowedPages)) {
$kdocPageTitle = $path;
} else {
$kdocPageTitle = 'main';
}
if( isset( $featureList[ $pathParts[0] ] )
&& isset( $featureList[ $pathParts[0] ]['featureSets'][ $pathParts[1] ] )
&& isset( $featureList[ $pathParts[0] ]['featureSets'][ $pathParts[1] ]['testfiles'][ $pathParts[2] ] )

0 comments on commit 6c823a9

Please sign in to comment.
You can’t perform that action at this time.