MDL-30381 Fixed the tempdir and cachedir value calculation
authorDavid Mudrak <david@moodle.com>
Mon, 21 Nov 2011 15:01:18 +0000 (16:01 +0100)
committerDavid Mudrak <david@moodle.com>
Mon, 21 Nov 2011 15:01:18 +0000 (16:01 +0100)
commitb907d3f58cdfc70ca2f0fd3b83e41fa21e48a1a4
treebe41801df81e0b2210119bda7e0cd4cddfbc8884
parent12812ad5da77a672c3798fdd345ca4ae26857f2d
MDL-30381 Fixed the tempdir and cachedir value calculation

Instead of using the default dataroot location, the tempdir and cachedir
are now set under the real dataroot location specified via the argument
and/or the interactive session.

The patch also adds a PARAM_PATH check for the dataroot specified.
admin/cli/install.php