Skip to content

Instantly share code, notes, and snippets.

@megamosk
megamosk / rhel7-moodle.sh
Created Dec 23, 2019 — forked from mrverrall/rhel7-moodle.sh
A script that installs and configures all the core components for moodle on RHEL/Centos 7 leaving you with a running site complete with AV scanning and Memcached
View rhel7-moodle.sh
#!/bin/bash
#
# This Bash script installs Moodle (http://moodle.org) and all it's
# requirements into a freshly installed Centos or RHEL 7 operating system.
# It assumes an 'Enforced' SELinux environment and configures the system
# accordingly.
#
# It is designed to be instructional and clear to read to persons unfamiliar
# with Bash and as such does *no* sanity checking before taking actions.
# Becasue of this *great* care should be taken if you feel the urge to run
View add2basket.php
<?
/*************************************************************************
Processing of the Buy link
*************************************************************************/
?>
<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");?>
<?
use Bitrix\Main\Loader;
$arParams["OFFERS_CART_PROPERTIES"] = array(
You can’t perform that action at this time.