Forums | Mahara Community

Developers /
Mahara dataroot and Google Docs?


anonymous profile picture
Deleted user
Posts: 6

02 December 2009, 11:34 AM

Hi - has anyone successfully been able to configure the Mahara dataroot to store the files at Google Docs?  I see you can set the path to the dataroot in config-dist.php but apparently URLs are not allowed.  This is the code excerpt, including comments:

// dataroot - uploaded files are stored here
// This is a ABSOLUTE FILESYSTEM PATH. This is NOT a URL.
// For example, valid paths are:
//  * /home/user/maharadata
//  * /var/lib/mahara
//  * c:\maharadata
// INVALID paths:
//  *
http://yoursite/files
//  * ~/files
//  * ../data
//
// This path must be writable by the webserver and outside document root (the
// place where the Mahara files like index.php have been installed).
// Mahara will NOT RUN if this is inside your document root, because
// this is a big security hole.
$cfg->dataroot = '/path/to/uploaddir';

 

Thanks in advance for your help!

John

anonymous profile picture
Deleted user
Posts: 48

11 December 2009, 1:06 AM

nice idea, but I'm pretty sure Google docs doesn't allow this sort of file interaction via http - you would need to use something like gladinet (which I haven't used before either) to link into Google docs in this manner. Also I thought Google docs only supported the storage of a limited set of file types - what happens when you try to store a zip?

2 results