Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: 9.1.0 CamillaGUI
#4
Having had a bit more time to look into this I think part of the problem may stem from the "Expert Mode" function in /var/www/inc/cdsp.php

PHP Code:
function getGuiExpertMode() {
 
       return file_exists('/opt/camillagui/config/gui-config.yml') == true;
 
   }

 
   function setGuiExpertMode($mode) {
 
       if ($mode == true
           
&& file_exists('/opt/camillagui/config/gui-config.yml')
 
          && file_exists('/opt/camillagui/config/gui-config.yml.disabled') == false) {
 
           sysCmd('sudo mv /opt/camillagui/config/gui-config.yml /opt/camillagui/config/gui-config.yml.disabled');
 
       } else if ($mode == false 
            
&& file_exists('/opt/camillagui/config/gui-config.yml.disabled')
 
           && file_exists('/opt/camillagui/config/gui-config.yml') == false) {
 
           sysCmd('sudo mv /opt/camillagui/config/gui-config.yml.disabled /opt/camillagui/config/gui-config.yml');
 
       }
 
   
Reply


Messages In This Thread
9.1.0 CamillaGUI - by soma909 - 09-20-2024, 12:57 AM
RE: 9.1.0 CamillaGUI - by Tim Curtis - 09-20-2024, 11:41 AM
RE: 9.1.0 CamillaGUI - by soma909 - 09-25-2024, 01:00 AM
RE: 9.1.0 CamillaGUI - by soma909 - 09-26-2024, 12:16 AM
RE: 9.1.0 CamillaGUI - by Tim Curtis - 09-26-2024, 12:35 PM
RE: 9.1.0 CamillaGUI - by Tim Curtis - 09-26-2024, 10:23 AM
RE: 9.1.0 CamillaGUI - by the_bertrum - 09-26-2024, 03:43 PM
RE: 9.1.0 CamillaGUI - by soma909 - 10-04-2024, 01:27 AM
RE: 9.1.0 CamillaGUI - by bitlab - 09-26-2024, 06:27 PM

Forum Jump: