ftimme
2013-02-20 d81892c7214e9beba5885383a3f7b400e0ca8b81
- Fixed FS#2690 - App installation causes changes PHP setting to FastCGI.
1 files modified
2 ■■■■■ changed files
interface/lib/classes/aps_guicontroller.inc.php 2 ●●●●● patch | view | raw | blame | history
interface/lib/classes/aps_guicontroller.inc.php
@@ -221,11 +221,13 @@
        $web_config = $app->getconf->get_server_config($app->functions->intval($websrv["server_id"]),'web');
            
        //* Set mysql mode to php-fcgi and enable suexec in website on apache servers
        /*
        if($web_config['server_type'] == 'apache') {
            if($websrv['php'] != 'fast-cgi' || $websrv['suexec'] != 'y') {
                $app->db->datalogUpdate('web_domain', "php = 'fast-cgi', suexec = 'y'", 'domain_id', $websrv['domain_id']);
            }
        }
        */
        
        //* Create the MySQL database for the application
        $pkg = $app->db->queryOneRecord('SELECT * FROM aps_packages WHERE id = '.$app->db->quote($packageid).';');