Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) Safe-mode: OFF (not secure) /usr/share/doc/git-1.8.3.1/contrib/mw-to-git/t/ drwxr-xr-x |
Viewing file: Select action/file-type: #!/bin/sh # This script installs or deletes a MediaWiki on your computer. # It requires a web server with PHP and SQLite running. In addition, if you # do not have MediaWiki sources on your computer, the option 'install' # downloads them for you. # Please set the CONFIGURATION VARIABLES in ./test-gitmw-lib.sh WIKI_TEST_DIR=$(cd "$(dirname "$0")" && pwd) if test -z "$WIKI_TEST_DIR" then WIKI_TEST_DIR=. fi . "$WIKI_TEST_DIR"/test-gitmw-lib.sh usage () { echo "usage: " echo " ./install-wiki.sh <install | delete | --help>" echo " install | -i : Install a wiki on your computer." echo " delete | -d : Delete the wiki and all its pages and " echo " content." } # Argument: install, delete, --help | -h case "$1" in "install" | "-i") wiki_install exit 0 ;; "delete" | "-d") wiki_delete exit 0 ;; "--help" | "-h") usage exit 0 ;; *) echo "Invalid argument: $1" usage exit 1 ;; esac |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0039 ]-- |