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
<?php | |
$host = 'hostname'; | |
$user = 'your-username'; | |
$pass = 'your-password'; | |
$primeWiki = 'wiki_meta'; | |
$wikiDBnames = array( | |
'wiki_a', | |
"wiki_b", | |
"wiki_c", |
This file has been truncated, but you can view the full file.
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
[james@Meza1-2015-07-09 ~]$ cat install.sh | |
#!/bin/bash | |
# | |
# Setup the entire Meza1 platform | |
if [ "$(whoami)" != "root" ]; then | |
echo "Try running this script with sudo: \"sudo bash install.sh\"" | |
exit 1 | |
fi |
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
<?php | |
// set content type to javascript (else it'll think it's HTML) | |
header( 'Content-Type: application/javascript; charset=utf-8' ); | |
// allow the requester to specify a callback function | |
$callback = isset( $_GET['callback'] ) ? $_GET['callback'] : 'callback'; | |
// retrieve the contents of the current event's HTML file | |
$configHtmlText = file_get_contents( __DIR__ . '/Event1069.html' ); |
NewerOlder