File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -2344,6 +2344,8 @@ def downoad_and_install_raindloop(self):
23442344
23452345 #############
23462346
2347+
2348+
23472349 count = 0
23482350
23492351 while (1 ):
@@ -2371,6 +2373,24 @@ def downoad_and_install_raindloop(self):
23712373 'rainlooop data folder' ,
23722374 1 , 0 , os .EX_OSERR )
23732375
2376+
2377+ ### Enable sub-folders
2378+
2379+ command = "mkdir -p /usr/local/lscp/cyberpanel/rainloop/data/_data_/_default_/configs/"
2380+ preFlightsChecks .call (command , self .distro , '[downoad_and_install_rainloop]' ,
2381+ 'rainlooop data folder' ,
2382+ 1 , 0 , os .EX_OSERR )
2383+
2384+ labsPath = '/usr/local/lscp/cyberpanel/rainloop/data/_data_/_default_/configs/application.ini'
2385+
2386+ labsData = """[labs]
2387+ imap_folder_list_limit = 0
2388+ """
2389+
2390+ writeToFile = open (labsPath , 'w' )
2391+ writeToFile .write (labsData )
2392+ writeToFile .close ()
2393+
23742394 iPath = os .listdir ('/usr/local/CyberCP/public/rainloop/rainloop/v/' )
23752395
23762396 path = "/usr/local/CyberCP/public/rainloop/rainloop/v/%s/include.php" % (iPath [0 ])
@@ -2388,8 +2408,6 @@ def downoad_and_install_raindloop(self):
23882408 writeToFile .close ()
23892409
23902410
2391-
2392-
23932411 except OSError , msg :
23942412 logging .InstallLog .writeToFile (str (msg ) + " [downoad_and_install_rainloop]" )
23952413 return 0
You can’t perform that action at this time.
0 commit comments