Advertisement
Guest User

Untitled

a guest
Oct 10th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # script to run PHPlist from commandline. You may need to edit this to make it work
  4. # with your shell environment. The following should work for Bash on Fedora Linux
  5. # but this may vary strongly in other situations. You will need to dig into the
  6. # code to make sure it works for you.
  7.  
  8. # in commandline mode, access is restricted to users who are listed in the config file
  9. # check README.commandline for more info
  10.  
  11. # identify the config file for your installation
  12. #CONFIG=/opt/bitnami/apps/phplist/htdocs/config/config.php
  13. #export CONFIG
  14.  
  15. # alternatively you can use -c <path to config file> on the commandline
  16.  
  17. # run the PHPlist index file with all parameters passed to this script
  18. #/opt/bitnami/php/bin/php /opt/bitnami/apps/phplist/htdocs/admin/index.php $*
  19.  
  20.  
  21. /opt/bitnami/php/bin/php /opt/bitnami/apps/phplist/htdocs/admin/index.php -c /opt/bitnami/apps/phplist/htdocs/config/config.php $*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement