cleanup junk; use tabs
This commit is contained in:
parent
e3e93b885a
commit
1eb023b9ca
1 changed files with 1 additions and 3 deletions
4
doku.php
4
doku.php
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/php
|
#!/usr/bin/php
|
||||||
<?php
|
<?php
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Setup VIM: ex: et ts=2 sw=2 :
|
# Setup VIM: ex: noet ts=2 sw=2 :
|
||||||
#
|
#
|
||||||
# PHP side Bridge of accessing DokuWiki functions from Python.
|
# PHP side Bridge of accessing DokuWiki functions from Python.
|
||||||
# See README for details.
|
# See README for details.
|
||||||
|
@ -22,8 +22,6 @@ function strip_dir($dir, $fn) {
|
||||||
return end(explode($dir.'/', $fn, 2));
|
return end(explode($dir.'/', $fn, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
$fn = $conf['mediadir'].'/'.utf8_encodeFN($id);
|
|
||||||
|
|
||||||
switch ($argv[1]) {
|
switch ($argv[1]) {
|
||||||
case 'cleanID':
|
case 'cleanID':
|
||||||
echo cleanID($argv[2]);
|
echo cleanID($argv[2]);
|
||||||
|
|
Loading…
Reference in a new issue