Changed campcaster-import to show where the files are going to be stored.

This commit is contained in:
paul.baranowski 2010-08-18 10:07:50 -04:00
parent 3ae64ced67
commit 29f65a6258
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# Copyright (c) 2010 Sourcefabric O.P.S. # Copyright (c) 2010 Sourcefabric O.P.S.
# #
# This file is part of the Campcaster project. # This file is part of the Campcaster project.
# http://campcaster.campware.org/ # http://campcaster.sourcefabric.org/
# #
# Campcaster is free software; you can redistribute it and/or modify # Campcaster is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by

View File

@ -2,14 +2,10 @@
/** /**
* Mass import of audio files. * Mass import of audio files.
* *
* @package Campcaster * @package Campcaster
* @subpackage StorageAdmin * @subpackage StorageAdmin
* @copyright 2010 Sourcefabric O.P.S. * @copyright 2010 Sourcefabric O.P.S.
* @license http://www.gnu.org/licenses/gpl.txt * @license http://www.gnu.org/licenses/gpl.txt
*/ */
ini_set('memory_limit', '128M'); ini_set('memory_limit', '128M');
set_time_limit(0); set_time_limit(0);
@ -31,6 +27,7 @@ function camp_import_error_handler()
function printUsage() function printUsage()
{ {
global $CC_CONFIG;
echo "There are two ways to import audio files into Campcaster: linking\n"; echo "There are two ways to import audio files into Campcaster: linking\n";
echo "or copying.\n"; echo "or copying.\n";
echo "\n"; echo "\n";
@ -59,6 +56,9 @@ function printUsage()
echo "\n"; echo "\n";
echo " -h, --help Print this message and exit.\n"; echo " -h, --help Print this message and exit.\n";
echo "\n"; echo "\n";
echo "Files will be imported to directory:\n";
echo " ". $CC_CONFIG["storageDir"] ."\n";
echo "\n";
} }