[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 October 21, 2022 11:54 pm by MarkusLude (diff)
Search: