fixing indentation

This commit is contained in:
Peter Feigl 2015-04-13 13:46:42 +02:00
parent 44ea83b986
commit 69b18fc4b6

View File

@ -16,7 +16,8 @@ let
'';
moodleConfig = pkgs.writeText "config.php"
''<?php
''
<?php
unset($CFG);
global $CFG;
$CFG = new stdClass();
@ -43,7 +44,6 @@ $CFG->noemailever = true;
${config.extraConfig}
require_once(dirname(__FILE__) . '/lib/setup.php'); // Do not edit
'';
# Unpack Moodle and put the config file in its root directory.
moodleRoot = pkgs.stdenv.mkDerivation rec {
name= "moodle-2.8.5";