| Server IP : 67.43.7.42 / Your IP : 216.73.216.61 Web Server : Apache System : Linux host.isabellascookies.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : isabella ( 503) PHP Version : 5.5.38 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/isabella/www/ |
Upload File : |
#!/bin/sh
# REPLACE with your PHP5 binary path (example: /usr/local/php5/bin/php )
#MAGE_PHP_BIN="php"
MAGE_PHP_SCRIPT="mage.php"
DOWNLOADER_PATH='downloader'
# initial setup
if test "x$1" = "xmage-setup"; then
echo 'Running initial setup...'
if test "x$2" != "x"; then
MAGE_ROOT_DIR="$2"
else
MAGE_ROOT_DIR="`pwd`"
fi
$0 config-set magento_root "$MAGE_ROOT_DIR"
$0 config-set preferred_state beta
$0 channel-add http://connect20.magentocommerce.com/community
exit
fi
# check that mage pear was initialized
if test "x$1" != "xconfig-set" &&
test "x$1" != "xconfig-get" &&
test "x$1" != "xconfig-show" &&
test "x$1" != "xchannel-add" &&
test "x`$0 config-get magento_root`" = "x"; then
echo 'Please initialize Magento Connect installer by running:'
echo "$0 mage-setup"
exit;
fi
# find which PHP binary to use
if test "x$MAGE_PHP_BIN" != "x"; then
PHP="$MAGE_PHP_BIN"
else
PHP=php
fi
# get default pear dir of not set
if test "x$MAGE_ROOT_DIR" = "x"; then
MAGE_ROOT_DIR="`pwd`/$DOWNLOADER_PATH"
fi
exec $PHP -C -q $INCARG -d output_buffering=1 -d variables_order=EGPCS \
-d open_basedir="" -d safe_mode=0 -d register_argc_argv="On" \
-d auto_prepend_file="" -d auto_append_file="" \
$MAGE_ROOT_DIR/$MAGE_PHP_SCRIPT "$@"