tabs -> spaces
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC'))
|
||||
define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
|
||||
define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
|
||||
if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
|
||||
|
||||
require_once(DOKU_PLUGIN.'syntax.php');
|
||||
@@ -291,7 +291,7 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin {
|
||||
$webdir = false;
|
||||
if (count($allowed_absolute_paths) == count($web_paths)) {
|
||||
for($i = 0; $i < count($allowed_absolute_paths); $i++) {
|
||||
if (strstr($dir, trim($allowed_absolute_paths[$i])) == $dir) {
|
||||
if (strstr($dir, trim($allowed_absolute_paths[$i]) == $dir) {
|
||||
$basedir = trim($allowed_absolute_paths[$i]);
|
||||
$webdir = trim($web_paths[$i]);
|
||||
break;
|
||||
@@ -357,8 +357,6 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin {
|
||||
else
|
||||
return DOKU_PLUGIN_FILELIST_NOMATCH;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user