Skip to content

Instantly share code, notes, and snippets.

@peterwilsoncc
Last active December 19, 2019 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterwilsoncc/b40d9501e325b6ccfd48cd03990499db to your computer and use it in GitHub Desktop.
Save peterwilsoncc/b40d9501e325b6ccfd48cd03990499db to your computer and use it in GitHub Desktop.
{
"require": {
"altis/cloud": "^2.0",
"altis/cms-installer": "0.3.2",
"altis/core": "^2.0",
"altis/media": "^2.0",
"johnpbloch/wordpress": "5.3.*",
},
"require-dev": {
"altis/dev-tools": "^2.0",
"squizlabs/php_codesniffer": "^3.5"
},
"extra": {
"installer-paths": {
"content/{$name}/": [
"type:wordpress-dropin"
],
"content/mu-plugins/vendor/{$name}/": [
"type:wordpress-muplugin"
],
"content/plugins/{$name}/": [
"type:wordpress-plugin"
]
}
},
"autoload": {
"files": [
".config/load.php"
]
}
}
<?php
use const ALTIS\ROOT_DIR;
/*
* Multisite is always enabled, unless some spooky
* early loading code tried to change that of course.
*
* This is that spooky early loading code.
*/
defined( 'MULTISITE' ) OR define( 'MULTISITE', false );
/*
* No editing of files.
*/
defined( 'DISALLOW_FILE_EDIT' ) OR define( 'DISALLOW_FILE_EDIT', true );
defined( 'DISALLOW_FILE_MODS' ) OR define( 'DISALLOW_FILE_MODS', true );
// Use Circle CI for updates.
defined( 'AUTOMATIC_UPDATER_DISABLED' ) OR define( 'AUTOMATIC_UPDATER_DISABLED', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment