Hi,
My WP is at public_html, but for security, I moved the file wp-config.php to the parent folder
/home/mydomain.com/public_html
/home/mydomain.com/wp-config.php
So, How to edit your code above?
it seems to check whether the wp-config.php exists or not
fi
if [ ! -f "$1"/wp-config.php ]
then
echo "$1/wp-config.php does not exist. Did you specify the path to a WordPress install?"
Hi,
My WP is at public_html, but for security, I moved the file wp-config.php to the parent folder
/home/mydomain.com/public_html
/home/mydomain.com/wp-config.php
So, How to edit your code above?
it seems to check whether the wp-config.php exists or not
fi
if [ ! -f "$1"/wp-config.php ]
then
echo "$1/wp-config.php does not exist. Did you specify the path to a WordPress install?"
Thanks