tbrehm
2010-10-05 65145bc760351895f8a8e448a358c45455a59ad4
Fixed issies in the installere where the file remote_action.inc.php is not created.
3 files modified
20 ■■■■■ changed files
install/dist/lib/fedora.lib.php 7 ●●●●● patch | view | raw | blame | history
install/dist/lib/gentoo.lib.php 7 ●●●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php 6 ●●●●● patch | view | raw | blame | history
install/dist/lib/fedora.lib.php
@@ -698,6 +698,13 @@
        
        wf("$install_dir/server/lib/$configfile", $content);
        
        //* Create the config file for remote-actions (but only, if it does not exist, because
        //  the value is a autoinc-value and so changed by the remoteaction_core_module
        if (!file_exists($install_dir.'/server/lib/remote_action.inc.php')) {
            $content = '<?php' . "\n" . '$maxid_remote_action = 0;' . "\n" . '?>';
            wf($install_dir.'/server/lib/remote_action.inc.php', $content);
        }
        
        //* Enable the server modules and plugins.
        // TODO: Implement a selector which modules and plugins shall be enabled.
install/dist/lib/gentoo.lib.php
@@ -579,6 +579,13 @@
        // Create the config file for ISPConfig server
        $this->write_config_file("$install_dir/server/lib/$configfile", $content);
        
        //* Create the config file for remote-actions (but only, if it does not exist, because
        //  the value is a autoinc-value and so changed by the remoteaction_core_module
        if (!file_exists($install_dir.'/server/lib/remote_action.inc.php')) {
            $content = '<?php' . "\n" . '$maxid_remote_action = 0;' . "\n" . '?>';
            wf($install_dir.'/server/lib/remote_action.inc.php', $content);
        }
        // Enable the server modules and plugins.
        // TODO: Implement a selector which modules and plugins shall be enabled.
        $dir = $install_dir.'/server/mods-available/';
install/dist/lib/opensuse.lib.php
@@ -710,6 +710,12 @@
        
        wf("$install_dir/server/lib/$configfile", $content);
        
        //* Create the config file for remote-actions (but only, if it does not exist, because
        //  the value is a autoinc-value and so changed by the remoteaction_core_module
        if (!file_exists($install_dir.'/server/lib/remote_action.inc.php')) {
            $content = '<?php' . "\n" . '$maxid_remote_action = 0;' . "\n" . '?>';
            wf($install_dir.'/server/lib/remote_action.inc.php', $content);
        }
        
        //* Enable the server modules and plugins.
        // TODO: Implement a selector which modules and plugins shall be enabled.