This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

All New Sentastico!
#10
RE: All New Sentastico!
Suggest update to install.run:

PHP Code:
// Make sure permissions are set properly
function fixPermissions(){   
    
global $controller;
    
 
   $module_path "./modules/".$controller->GetControllerRequest('URL''module');
 
                                                 
    $sysOS 
php_uname('s');                                                                        
    $zsudo 
ctrl_options::GetOption('zsudo');                                                      
                                                                                                    
    switch
($sysOS){                                                                                 
        case 
'Linux'                                                                              
            exec
("$zsudo chown -R apache.apache " $module_path);                               
            exec
("$zsudo chmod -R 755 " $module_path);                                            
        break
                                                                                     
        case 
'Unix'                                                                               
            exec
("$zsudo chown -R apache:apache " $module_path);                               
            exec
("$zsudo chmod -R 755 " $module_path);                                            
        break
                                                                                     
        default
                                                                                   
            
//windows or incompilable operating system !!Do Nothing!!                               
 
       break                                                                                     
    
                                                                                              
}

fixPermissions(); 
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Thanks given by:


Messages In This Thread
All New Sentastico! - by TGates - 01-23-2016, 04:36 AM
RE: All New Sentastico! - by Cantalupo - 01-23-2016, 01:12 PM
RE: All New Sentastico! - by Ron-e - 01-24-2016, 01:23 AM
RE: All New Sentastico! - by TGates - 01-24-2016, 06:27 AM
RE: All New Sentastico! - by Ron-e - 01-24-2016, 03:35 PM
RE: All New Sentastico! - by TGates - 01-24-2016, 06:21 PM
RE: All New Sentastico! - by Ron-e - 01-24-2016, 07:21 PM
RE: All New Sentastico! - by Me.B - 01-25-2016, 03:10 AM
RE: All New Sentastico! - by TGates - 01-25-2016, 05:07 AM
RE: All New Sentastico! - by TGates - 01-25-2016, 05:17 AM
RE: All New Sentastico! - by bbspike - 01-25-2016, 08:15 PM
RE: All New Sentastico! - by TGates - 01-25-2016, 09:47 PM
RE: All New Sentastico! - by TGates - 01-25-2016, 10:20 PM
RE: All New Sentastico! - by bbspike - 01-25-2016, 10:40 PM
RE: All New Sentastico! - by TGates - 01-25-2016, 10:47 PM
RE: All New Sentastico! - by bbspike - 01-26-2016, 03:54 AM
RE: All New Sentastico! - by TGates - 01-26-2016, 09:30 AM
RE: All New Sentastico! - by warmax356 - 02-07-2016, 12:05 PM
RE: All New Sentastico! - by TGates - 02-07-2016, 02:58 PM
RE: All New Sentastico! - by TGates - 02-08-2016, 06:46 AM
RE: All New Sentastico! - by bbspike - 02-12-2016, 01:43 AM
RE: All New Sentastico! - by TGates - 02-12-2016, 03:25 AM
RE: All New Sentastico! - by TGates - 02-12-2016, 07:13 AM
RE: All New Sentastico! - by bbspike - 02-12-2016, 08:31 PM
RE: All New Sentastico! - by bbspike - 02-12-2016, 10:13 PM
RE: All New Sentastico! - by TGates - 02-13-2016, 02:55 AM
RE: All New Sentastico! - by bbspike - 02-13-2016, 06:22 PM
RE: All New Sentastico! - by TGates - 02-14-2016, 10:46 AM
RE: All New Sentastico! - by Castey - 02-21-2016, 08:16 AM
RE: All New Sentastico! - by TGates - 02-22-2016, 04:59 PM
RE: All New Sentastico! - by TGates - 02-22-2016, 06:34 PM
RE: All New Sentastico! - by Me.B - 02-22-2016, 09:18 PM
RE: All New Sentastico! - by TGates - 02-23-2016, 05:51 AM
RE: All New Sentastico! - by hostingstark - 02-24-2016, 06:26 PM
RE: All New Sentastico! - by Me.B - 02-24-2016, 08:45 PM
RE: All New Sentastico! - by TGates - 02-26-2016, 05:26 AM
RE: All New Sentastico! - by milllan - 03-22-2016, 09:52 PM
RE: All New Sentastico! - by TGates - 03-23-2016, 02:45 AM
RE: All New Sentastico! - by caribehosting - 04-25-2016, 10:07 AM
RE: All New Sentastico! - by TGates - 05-02-2016, 01:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sentastico white screen zustudios 3 9 ,191 01-27-2020, 03:20 AM
Last Post: Jettaman
How to Sentastico Packages update? lycuc 11 33 ,629 08-11-2018, 11:14 AM
Last Post: TGates
Sentastico "add" button does nothing Saveriott12 10 29 ,154 03-02-2018, 05:50 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 15 Guest(s)