Changeset 4380
- Timestamp:
- Fri Jan 20 22:03:33 2006
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
-
trunk/campsite/implementation/management/bin/campsite_autopublish
r4256 r4380 4 4 if [ "$sbin_path" = "." ]; then 5 5 www_dir=`./campsite_config --www_dir` 6 php_cli=`./campsite_config --php_cli` 6 7 script_call="./campsite_autopublish.php" 7 8 elif [ "$sbin_path" = "" ]; then 8 9 www_dir=`campsite_config --www_dir` 10 php_cli=`campsite_config --php_cli` 9 11 sbin_path=`campsite_config --sbin_dir` 10 12 script_call="$sbin_path/campsite_autopublish.php" 11 13 else 12 14 www_dir=`$sbin_path/campsite_config --www_dir` 15 php_cli=`$sbin_path/campsite_config --php_cli` 13 16 script_call="$sbin_path/campsite_autopublish.php" 14 17 fi 15 18 16 19 for inst_www_dir in $www_dir/*; do 17 php$"$script_call" $"$inst_www_dir"20 $"$php_cli" -q $"$script_call" $"$inst_www_dir" 17 20 done -
trunk/campsite/install_conf/install_conf.php
r4088 r4380 1 1 <?php 2 2 3 $Campsite['APACHE_USER'] = 'apache'; 4 $Campsite['APACHE_GROUP'] = 'apache'; 3 $Campsite['APACHE_USER'] = 'www-data'; 4 $Campsite['APACHE_GROUP'] = 'www-data'; 5 5 $Campsite['CAMPSITE_DIR'] = '/usr/local/campsite'; 6 6 $Campsite['BIN_DIR'] = '/usr/local/campsite/bin';