| | |
| | | } |
| | | |
| | | if(is_dir('/root/ispconfig') || is_dir('/home/admispconfig')) { |
| | | die('This software can not be installed on a server wich runs ISPConfig 2.x.'); |
| | | die('This software cannot be installed on a server wich runs ISPConfig 2.x.'); |
| | | } |
| | | |
| | | if(is_dir('/usr/local/ispconfig')) { |
| | |
| | | global $conf; |
| | | |
| | | if(isset($conf['bind']['installed']) && $conf['bind']['installed'] == true) { |
| | | // Temporary disabled until the installer supports the automatic creatin of the nescessary |
| | | // Temporarily disabled until the installer supports the automatic creation of the necessary |
| | | // database or at least to select between filebased nd db based bind, as not all bind versions |
| | | // support dlz out of the box. To enable this plugin manually, create a symlink from the plugins-enabled |
| | | // directory to this file in the plugins-available directory. |
| | |
| | | unset($_db); |
| | | } |
| | | } // end class |
| | | ?> |
| | | ?> |
| | |
| | | $app->log("Parent domain not found",LOGLEVEL_WARN); |
| | | return 0; |
| | | } elseif($parent_domain["system_user"] == 'root' or $parent_domain["system_group"] == 'root') { |
| | | $app->log("Websites (and Crons) can not be owned by the root user or group.",LOGLEVEL_WARN); |
| | | $app->log("Websites (and Crons) cannot be owned by the root user or group.",LOGLEVEL_WARN); |
| | | return 0; |
| | | } |
| | | |
| | |
| | | $app->log("Parent domain not found",LOGLEVEL_WARN); |
| | | return 0; |
| | | } elseif($parent_domain["system_user"] == 'root' or $parent_domain["system_group"] == 'root') { |
| | | $app->log("Websites (and Crons) can not be owned by the root user or group.",LOGLEVEL_WARN); |
| | | $app->log("Websites (and Crons) cannot be owned by the root user or group.",LOGLEVEL_WARN); |
| | | return 0; |
| | | } |
| | | |
| | |
| | | |
| | | } // end class |
| | | |
| | | ?> |
| | | ?> |