[Openfirst-cvscommit] members workspace.php,1.16,1.17
Brought to you by:
xtimg
From: <dav...@us...> - 2003-12-29 16:55:03
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv28385 Modified Files: workspace.php Log Message: Make folder error was fixed as per Jacks suggestion of changing to 744. This is in reference to bugs #10,11 and 12. Index: workspace.php =================================================================== RCS file: /cvsroot/openfirst/members/workspace.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** workspace.php 29 Dec 2003 16:31:43 -0000 1.16 --- workspace.php 29 Dec 2003 16:54:58 -0000 1.17 *************** *** 464,469 **** if(is_writable(getcwd() . "/virtfs/") == true) { ofirst_dbquery("INSERT INTO ofirst_workspace_users (quota, user, virtfspath, frozen) VALUES('10', '$user->user', '" . getcwd() . "/virtfs/$user->user/', '0');"); ! mkdir(getcwd() . "/virtfs/$user->user/", 0644); ! mkdir(getcwd() . "/virtfs/$user->user/www/", 0644); $uf = ofirst_dbquery("INSERT INTO ofirst_workspace_files (size, location, owner, permissions, date, description, filetype, name) VALUES('0', '$filepath', '$user->user', 'drw-------', '" . --- 464,469 ---- if(is_writable(getcwd() . "/virtfs/") == true) { ofirst_dbquery("INSERT INTO ofirst_workspace_users (quota, user, virtfspath, frozen) VALUES('10', '$user->user', '" . getcwd() . "/virtfs/$user->user/', '0');"); ! mkdir(getcwd() . "/virtfs/$user->user/", 744); ! mkdir(getcwd() . "/virtfs/$user->user/www/", 744); $uf = ofirst_dbquery("INSERT INTO ofirst_workspace_files (size, location, owner, permissions, date, description, filetype, name) VALUES('0', '$filepath', '$user->user', 'drw-------', '" . |