Changeset 4381

Show
Ignore:
Timestamp:
Fri Jan 20 22:04:56 2006
Author:
mugur
Message:

run PHP cli with full path

Files:

Legend:

Unmodified
Added
Removed
Modified
  • branches/CAMPSITE_2_4_BRANCH/campsite/implementation/management/bin/campsite_autopublish

    r4256 r4381  
    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