[Home]CreateUserDir

UseModWiki | RecentChanges | Preferences

UseModWiki/Documentation: Functions: CreateUserDir

Called by DoNewLogin, SaveUserData

 sub CreateUserDir {
   my ($n, $subdir);

   if (!(-d "$UserDir/0")) {
     &CreateDir($UserDir);

     foreach $n (0..9) {
       $subdir = "$UserDir/$n";
       &CreateDir($subdir);
     }
   }


UseModWiki | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited March 8, 2010 7:11 pm by MarkusLude (diff)
Search: