generic script

This commit is contained in:
Mattia Basaglia 2013-11-06 16:48:33 +01:00
parent 9d5f0ce10b
commit ca222ffd29

View file

@ -1,6 +1,6 @@
#!/usr/bin/php #!/usr/bin/php
<?php <?php
$dir = dirname(__FILE__); $dir = isset($argv[1]) ? $argv[1] : getcwd();
$dir_files = scandir($dir); $dir_files = scandir($dir);
$files = array(); $files = array();
$maxw = 0; $maxw = 0;