Last active
February 22, 2018 01:14
-
-
Save renekreijveld/6079374 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# joomlainfo -- Provide information about this Joomla! installation. | |
# Supports Joomla 1.0 - 3.3 | |
# | |
# Copyright 2014 Rene Kreijveld - [email protected] | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# | |
# Warning! This script needs the file joomlafunctions. This has to be installed in the same directory as this script. | |
# | |
# General variables | |
VERSION=2.0 | |
# Determine path of script | |
MYPATH=$( cd $(dirname $0) ; pwd -P ) | |
# Include general functions | |
. ${MYPATH}/joomlafunctions | |
echo "joomlainfo verion ${VERSION}, written by René Kreijveld" | |
# Output information | |
echo "This Joomla! website:" | |
echo "Sitename :" $sitenameclean | |
echo "Version :" $versr.$versd $verss | |
echo "DB Name :" $database | |
echo "DB User :" $dbuser | |
echo "DB Password :" $password | |
echo "DB Host :" $host | |
echo "DB Prefix :" $prefix | |
echo "Path :" `pwd` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment