Changeset 441
- Timestamp:
- 03/27/07 00:13:36
(2 years ago)
- Author:
- rats
- Message:
- ENGINE:
- restructured: vhcs2.conf
- changed: logical structure for MYSQL_PREFIX (YES = prefix; no = no prefix)
- GUI:
- deleted: images for old error pages: not longer supported
- SETUP:
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r440 |
r441 |
|
| 11 | 11 | \_________________________________________________________________/ |
|---|
| 12 | 12 | |
|---|
| 13 | | 2007-03-21 Benedikt Heintel |
|---|
| | 13 | 2007-03-25 Benedikt Heintel |
|---|
| | 14 | - ENGINE: |
|---|
| | 15 | * restructured: vhcs2.conf |
|---|
| | 16 | * changed: logical structure for MYSQL_PREFIX (YES = prefix; no = no prefix) |
|---|
| | 17 | - GUI: |
|---|
| | 18 | * deleted: images for old error pages: not longer supported |
|---|
| | 19 | - SETUP: |
|---|
| | 20 | * changed: Uninstaller |
|---|
| | 21 | |
|---|
| | 22 | 2007-03-25 Benedikt Heintel |
|---|
| 14 | 23 | - ENGINE: |
|---|
| 15 | 24 | * fixed bug #125: edited a lot of permissions |
|---|
| r432 |
r441 |
|
| 1 | | |
|---|
| 2 | | # |
|---|
| 3 | | # Misc config variables; |
|---|
| | 1 | # |
|---|
| | 2 | # VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 3 | # Copyright (c) 2006-2007 by isp Control Panel |
|---|
| | 4 | # http://isp-control.net |
|---|
| | 5 | # |
|---|
| | 6 | |
|---|
| | 7 | # |
|---|
| | 8 | # Misc config variables |
|---|
| 4 | 9 | # |
|---|
| 5 | 10 | |
|---|
| 6 | 11 | BuildDate = 20070319 |
|---|
| 7 | 12 | |
|---|
| 8 | | # DFtpDir = /var/www/virtual/ |
|---|
| 9 | | |
|---|
| 10 | | # FtpShell = /bin/bash |
|---|
| 11 | | |
|---|
| 12 | | Version = 2.4.8 OMEGA |
|---|
| | 13 | Version = 2.4.8 |
|---|
| 13 | 14 | |
|---|
| 14 | 15 | VersionH = 2.4 Rhea |
|---|
| 15 | 16 | |
|---|
| 16 | | LOGIN_TIME_OUT = 20 |
|---|
| 17 | | |
|---|
| 18 | 17 | DEFAULT_ADMIN_ADDRESS = |
|---|
| 19 | 18 | |
|---|
| … | … | |
| 26 | 25 | MR_LOCK_FILE = /tmp/vhcs2.lock |
|---|
| 27 | 26 | |
|---|
| | 27 | # |
|---|
| | 28 | # File system variables |
|---|
| | 29 | # |
|---|
| | 30 | |
|---|
| | 31 | CMD_AWK = /usr/bin/awk |
|---|
| | 32 | |
|---|
| | 33 | CMD_CHOWN = /bin/chown |
|---|
| | 34 | |
|---|
| | 35 | CMD_CAT = /bin/cat |
|---|
| | 36 | |
|---|
| | 37 | CMD_CP = /bin/cp |
|---|
| | 38 | |
|---|
| | 39 | CMD_DIFF = /usr/bin/diff |
|---|
| | 40 | |
|---|
| | 41 | CMD_DU = /usr/bin/du |
|---|
| | 42 | |
|---|
| | 43 | CMD_ECHO = /bin/echo |
|---|
| | 44 | |
|---|
| 28 | 45 | CMD_HOSTNAME = /bin/hostname |
|---|
| 29 | 46 | |
|---|
| 30 | 47 | CMD_IFCONFIG = /sbin/ifconfig |
|---|
| 31 | 48 | |
|---|
| | 49 | CMD_IPTABLES = /sbin/iptables |
|---|
| | 50 | |
|---|
| | 51 | CMD_GREP = /bin/grep |
|---|
| | 52 | |
|---|
| | 53 | CMD_GROUPADD = /usr/sbin/groupadd |
|---|
| | 54 | |
|---|
| | 55 | CMD_GROUPDEL = /usr/sbin/groupdel |
|---|
| | 56 | |
|---|
| | 57 | CMD_LN = /bin/ln |
|---|
| | 58 | |
|---|
| | 59 | CMD_MYSQL = /usr/bin/mysql |
|---|
| | 60 | |
|---|
| | 61 | CMD_MV = /bin/mv |
|---|
| | 62 | |
|---|
| | 63 | CMD_PS = /bin/ps |
|---|
| | 64 | |
|---|
| | 65 | CMD_RM = /bin/rm |
|---|
| | 66 | |
|---|
| | 67 | CMD_TAR = /bin/tar |
|---|
| | 68 | |
|---|
| 32 | 69 | CMD_USERADD = /usr/sbin/useradd |
|---|
| 33 | 70 | |
|---|
| 34 | 71 | CMD_USERDEL = /usr/sbin/userdel |
|---|
| 35 | 72 | |
|---|
| 36 | | CMD_GROUPADD = /usr/sbin/groupadd |
|---|
| 37 | | |
|---|
| 38 | | CMD_GROUPDEL = /usr/sbin/groupdel |
|---|
| 39 | | |
|---|
| 40 | | CMD_MYSQL = /usr/bin/mysql |
|---|
| | 73 | CMD_WC = /usr/bin/wc |
|---|
| | 74 | |
|---|
| | 75 | PEAR_DIR = /usr/share/php |
|---|
| | 76 | |
|---|
| | 77 | # |
|---|
| | 78 | # SQL backend variables |
|---|
| | 79 | # |
|---|
| | 80 | |
|---|
| | 81 | DATABASE_TYPE = mysql |
|---|
| | 82 | |
|---|
| | 83 | DATABASE_HOST = localhost |
|---|
| | 84 | |
|---|
| | 85 | DATABASE_NAME = vhcs2 |
|---|
| | 86 | |
|---|
| | 87 | DATABASE_PASSWORD = |
|---|
| | 88 | |
|---|
| | 89 | DATABASE_USER = root |
|---|
| | 90 | |
|---|
| | 91 | DATABASE_DIR = /var/lib/mysql |
|---|
| | 92 | |
|---|
| | 93 | # |
|---|
| | 94 | # Main variables |
|---|
| | 95 | # |
|---|
| | 96 | |
|---|
| | 97 | CONF_DIR = /etc/vhcs2 |
|---|
| | 98 | |
|---|
| | 99 | LOG_DIR = /var/log/vhcs2 |
|---|
| | 100 | |
|---|
| | 101 | PHP_STARTER_DIR = /var/www/fcgi |
|---|
| | 102 | |
|---|
| | 103 | ROOT_DIR = /var/www/vhcs2 |
|---|
| | 104 | |
|---|
| | 105 | GUI_ROOT_DIR = /var/www/vhcs2/gui |
|---|
| | 106 | |
|---|
| | 107 | APACHE_WWW_DIR = /var/www/virtual |
|---|
| | 108 | |
|---|
| | 109 | # |
|---|
| | 110 | # PHP FastCGI data |
|---|
| | 111 | # |
|---|
| | 112 | |
|---|
| | 113 | PHP4_FASTCGI_BIN = /usr/bin/php4-cgi |
|---|
| | 114 | |
|---|
| | 115 | PHP5_FASTCGI_BIN = /usr/bin/php5-cgi |
|---|
| | 116 | |
|---|
| | 117 | # |
|---|
| | 118 | # ProFTPd data |
|---|
| | 119 | # |
|---|
| 41 | 120 | |
|---|
| 42 | 121 | FTPD_CONF_FILE = /etc/proftpd.conf |
|---|
| 43 | 122 | |
|---|
| 44 | | CMD_CHOWN = /bin/chown |
|---|
| 45 | | |
|---|
| 46 | | # |
|---|
| 47 | | # SQL backend variables; |
|---|
| 48 | | # |
|---|
| 49 | | |
|---|
| 50 | | DATABASE_TYPE = mysql |
|---|
| 51 | | |
|---|
| 52 | | DATABASE_HOST = localhost |
|---|
| 53 | | |
|---|
| 54 | | DATABASE_NAME = vhcs2 |
|---|
| 55 | | |
|---|
| 56 | | DATABASE_PASSWORD = |
|---|
| 57 | | |
|---|
| 58 | | DATABASE_USER = root |
|---|
| 59 | | |
|---|
| 60 | | DATABASE_DIR = /var/lib/mysql |
|---|
| 61 | | |
|---|
| 62 | | # |
|---|
| 63 | | # Main situation variables; |
|---|
| 64 | | # |
|---|
| 65 | | |
|---|
| 66 | | ROOT_DIR = /var/www/vhcs2 |
|---|
| 67 | | |
|---|
| 68 | | CONF_DIR = /etc/vhcs2 |
|---|
| 69 | | |
|---|
| 70 | | LOG_DIR = /var/log/vhcs2 |
|---|
| 71 | | |
|---|
| 72 | | PHP_STARTER_DIR = /var/www/fcgi |
|---|
| 73 | | |
|---|
| 74 | | # |
|---|
| 75 | | # PHP FastCgi BIN |
|---|
| 76 | | # |
|---|
| 77 | | |
|---|
| 78 | | PHP4_FASTCGI_BIN = /usr/bin/php4-cgi |
|---|
| 79 | | |
|---|
| 80 | | PHP5_FASTCGI_BIN = /usr/bin/php5-cgi |
|---|
| 81 | | |
|---|
| 82 | | # |
|---|
| 83 | | # BIND data. |
|---|
| | 123 | # |
|---|
| | 124 | # BIND data |
|---|
| 84 | 125 | # |
|---|
| 85 | 126 | |
|---|
| … | … | |
| 91 | 132 | |
|---|
| 92 | 133 | # |
|---|
| 93 | | # AWSTATS data. |
|---|
| | 134 | # AWSTATS data |
|---|
| 94 | 135 | # |
|---|
| 95 | 136 | # Either no or path to the awstats configs dir (mostly: /etc/awstats) |
|---|
| 96 | 137 | AWSTATS_DIR = no |
|---|
| 97 | 138 | |
|---|
| | 139 | AWSTSTS_ROOT_DIR = /var/www/vhcs2/engine/awstats |
|---|
| | 140 | |
|---|
| 98 | 141 | AWSTATS_WEB_DIR = /var/www/awstats |
|---|
| 99 | 142 | |
|---|
| 100 | | AWSTSTS_ROOT_DIR = /var/www/vhcs2/engine/awstats |
|---|
| 101 | | |
|---|
| 102 | | # |
|---|
| 103 | | # APACHE data. |
|---|
| 104 | | # |
|---|
| 105 | | |
|---|
| 106 | | # |
|---|
| 107 | | # APACHE config data. |
|---|
| 108 | | # |
|---|
| | 143 | # |
|---|
| | 144 | # APACHE data |
|---|
| | 145 | # |
|---|
| | 146 | |
|---|
| | 147 | |
|---|
| | 148 | APACHE_NAME = apache2 |
|---|
| | 149 | |
|---|
| | 150 | APACHE_RESTART_TRY = 3 |
|---|
| | 151 | |
|---|
| | 152 | APACHE_CONF_DIR = /etc/apache2 |
|---|
| 109 | 153 | |
|---|
| 110 | 154 | APACHE_CMD = /usr/sbin/apache2 |
|---|
| 111 | 155 | |
|---|
| 112 | | APACHE_NAME = apache2 |
|---|
| 113 | | |
|---|
| 114 | | APACHE_RESTART_TRY = 3 |
|---|
| 115 | | |
|---|
| 116 | | APACHE_WWW_DIR = /var/www/virtual |
|---|
| 117 | | |
|---|
| 118 | 156 | APACHE_LOG_DIR = /var/log/apache2 |
|---|
| 119 | 157 | |
|---|
| | 158 | APACHE_BACKUP_LOG_DIR = /var/log/apache2/backup |
|---|
| | 159 | |
|---|
| 120 | 160 | APACHE_USERS_LOG_DIR = /var/log/apache2/users |
|---|
| 121 | 161 | |
|---|
| 122 | | APACHE_BACKUP_LOG_DIR = /var/log/apache2/backup |
|---|
| | 162 | APACHE_MODS_DIR = /etc/apache2/mods-available |
|---|
| 123 | 163 | |
|---|
| 124 | 164 | APACHE_SITES_DIR = /etc/apache2/sites-available |
|---|
| 125 | 165 | |
|---|
| 126 | | APACHE_CONF_DIR = /etc/apache2 |
|---|
| 127 | | |
|---|
| 128 | | GUI_ROOT_DIR = /var/www/vhcs2/gui |
|---|
| 129 | | |
|---|
| 130 | | PEAR_DIR = /usr/share/php |
|---|
| 131 | | |
|---|
| 132 | | CMD_PS = /bin/ps |
|---|
| 133 | | |
|---|
| 134 | | CMD_WC = /usr/bin/wc |
|---|
| | 166 | APACHE_SUEXEC_USER_PREF = vu |
|---|
| | 167 | |
|---|
| | 168 | APACHE_SUEXEC_MIN_GID = 2000 |
|---|
| 135 | 169 | |
|---|
| 136 | 170 | APACHE_SUEXEC_MIN_UID = 2000 |
|---|
| 137 | 171 | |
|---|
| 138 | | APACHE_SUEXEC_MIN_GID = 2000 |
|---|
| 139 | | |
|---|
| 140 | | APACHE_SUEXEC_USER_PREF = vu |
|---|
| 141 | | |
|---|
| 142 | | # |
|---|
| 143 | | # APACHE directory data. |
|---|
| 144 | | # |
|---|
| 145 | | |
|---|
| 146 | 172 | APACHE_USER = www-data |
|---|
| 147 | 173 | |
|---|
| … | … | |
| 149 | 175 | |
|---|
| 150 | 176 | # |
|---|
| 151 | | # Postfix MTA Data. |
|---|
| | 177 | # Postfix MTA Data |
|---|
| 152 | 178 | # |
|---|
| 153 | 179 | |
|---|
| … | … | |
| 198 | 224 | CMD_NEWALIASES = /usr/bin/newaliases |
|---|
| 199 | 225 | |
|---|
| 200 | | CMD_ECHO = /bin/echo |
|---|
| 201 | | |
|---|
| 202 | | CMD_LN = /bin/ln |
|---|
| 203 | | |
|---|
| 204 | | # |
|---|
| 205 | | # Courier IMAP/POP3 Data. |
|---|
| | 226 | # |
|---|
| | 227 | # Courier IMAP/POP3 data |
|---|
| 206 | 228 | # |
|---|
| 207 | 229 | |
|---|
| … | … | |
| 213 | 235 | |
|---|
| 214 | 236 | # |
|---|
| 215 | | # Crontab delayed tasks. |
|---|
| | 237 | # Crontab delayed tasks |
|---|
| 216 | 238 | # |
|---|
| 217 | 239 | |
|---|
| … | … | |
| 225 | 247 | |
|---|
| 226 | 248 | # |
|---|
| 227 | | # Backup tasks manager. |
|---|
| 228 | | # |
|---|
| 229 | | |
|---|
| 230 | | CMD_TAR = /bin/tar |
|---|
| 231 | | |
|---|
| 232 | | CMD_MV = /bin/mv |
|---|
| 233 | | |
|---|
| 234 | | CMD_RM = /bin/rm |
|---|
| 235 | | |
|---|
| 236 | | CMD_DU = /usr/bin/du |
|---|
| 237 | | |
|---|
| 238 | | # |
|---|
| 239 | | # Service manager. |
|---|
| 240 | | # |
|---|
| 241 | | |
|---|
| 242 | | CMD_NAMED = /etc/init.d/bind9 |
|---|
| 243 | | |
|---|
| 244 | | CMD_MTA = /etc/init.d/postfix |
|---|
| 245 | | |
|---|
| 246 | | CMD_HTTPD = /usr/sbin/apache2ctl |
|---|
| 247 | | |
|---|
| 248 | | CMD_AUTHD = /etc/init.d/courier-authdaemon |
|---|
| 249 | | |
|---|
| 250 | | CMD_IMAP = /etc/init.d/courier-imap |
|---|
| 251 | | |
|---|
| 252 | | CMD_POP = /etc/init.d/courier-pop |
|---|
| | 249 | # Service manager |
|---|
| | 250 | # |
|---|
| 253 | 251 | |
|---|
| 254 | 252 | # Either no or path to the amavis-daemon (mostly: /etc/init.d/amavis) |
|---|
| 255 | 253 | CMD_AMAVIS = no |
|---|
| 256 | 254 | |
|---|
| | 255 | CMD_AUTHD = /etc/init.d/courier-authdaemon |
|---|
| | 256 | |
|---|
| 257 | 257 | CMD_FTPD = /etc/init.d/proftpd |
|---|
| 258 | 258 | |
|---|
| | 259 | CMD_HTTPD = /usr/sbin/apache2ctl |
|---|
| | 260 | |
|---|
| | 261 | CMD_IMAP = /etc/init.d/courier-imap |
|---|
| | 262 | |
|---|
| | 263 | CMD_IMAP_SSL = /etc/init.d/courier-imap-ssl |
|---|
| | 264 | |
|---|
| | 265 | CMD_MTA = /etc/init.d/postfix |
|---|
| | 266 | |
|---|
| | 267 | CMD_NAMED = /etc/init.d/bind9 |
|---|
| | 268 | |
|---|
| | 269 | CMD_POP = /etc/init.d/courier-pop |
|---|
| | 270 | |
|---|
| | 271 | CMD_POP_SSL = /etc/init.d/courier-pop-ssl |
|---|
| | 272 | |
|---|
| 259 | 273 | CMD_VHCS2D = /etc/init.d/vhcs2_daemon |
|---|
| 260 | 274 | |
|---|
| … | … | |
| 262 | 276 | |
|---|
| 263 | 277 | # |
|---|
| 264 | | # Server traffic manager. |
|---|
| 265 | | # |
|---|
| 266 | | |
|---|
| 267 | | CMD_IPTABLES = /sbin/iptables |
|---|
| 268 | | |
|---|
| 269 | | # |
|---|
| 270 | | # Virtual traffic manager. |
|---|
| 271 | | # |
|---|
| 272 | | |
|---|
| 273 | | CMD_CP = /bin/cp |
|---|
| 274 | | |
|---|
| 275 | | CMD_DIFF = /usr/bin/diff |
|---|
| 276 | | |
|---|
| 277 | | CMD_GREP = /bin/grep |
|---|
| 278 | | |
|---|
| 279 | | CMD_CAT = /bin/cat |
|---|
| 280 | | |
|---|
| 281 | | CMD_AWK = /usr/bin/awk |
|---|
| | 278 | # Virtual traffic manager |
|---|
| | 279 | # |
|---|
| 282 | 280 | |
|---|
| 283 | 281 | CMD_PFLOGSUM = /usr/sbin/maillogconvert.pl |
|---|
| … | … | |
| 289 | 287 | MAIL_TRAFF_LOG = mail.log |
|---|
| 290 | 288 | |
|---|
| | 289 | PREV_TRAFF_LOG_MAX_SIZE = 10485760 |
|---|
| | 290 | |
|---|
| | 291 | TRAFF_ROOT_DIR = /var/www/vhcs2/engine/traffic |
|---|
| | 292 | |
|---|
| | 293 | TOOLS_ROOT_DIR = /var/www/vhcs2/engine/tools |
|---|
| | 294 | |
|---|
| | 295 | QUOTA_ROOT_DIR = /var/www/vhcs2/engine/quota |
|---|
| | 296 | |
|---|
| | 297 | # |
|---|
| | 298 | # AMaViS data |
|---|
| | 299 | # |
|---|
| | 300 | |
|---|
| 291 | 301 | MAIL_LOG_INC_AMAVIS = 0 |
|---|
| 292 | 302 | |
|---|
| 293 | | PREV_TRAFF_LOG_MAX_SIZE = 10485760 |
|---|
| 294 | | |
|---|
| 295 | | QUOTA_ROOT_DIR = /var/www/vhcs2/engine/quota |
|---|
| 296 | | |
|---|
| 297 | | TRAFF_ROOT_DIR = /var/www/vhcs2/engine/traffic |
|---|
| 298 | | |
|---|
| 299 | | TOOLS_ROOT_DIR = /var/www/vhcs2/engine/tools |
|---|
| 300 | | |
|---|
| | 303 | # |
|---|
| | 304 | # GUI config |
|---|
| 301 | 305 | # |
|---|
| 302 | 306 | |
|---|
| 303 | 307 | USER_INITIAL_THEME = omega_original |
|---|
| 304 | 308 | |
|---|
| 305 | | USER_INITIAL_THEME_COLOR = blue |
|---|
| 306 | | |
|---|
| 307 | | USER_LAYOUT_ID = 1 |
|---|
| 308 | | |
|---|
| 309 | 309 | VHCS_LICENSE = VHCS<sup>®</sup>2.4.8 OMEGA<br />build: 2007-03-19<br />Rhea |
|---|
| 310 | 310 | |
|---|
| 311 | | MINIMAL_FTP_UID = 2000 |
|---|
| 312 | | |
|---|
| 313 | | MINIMAL_FTP_GID = 2000 |
|---|
| 314 | | |
|---|
| 315 | 311 | FTP_USERNAME_SEPARATOR = @ |
|---|
| 316 | 312 | |
|---|
| … | … | |
| 325 | 321 | VHCS_SUPPORT_SYSTEM_TARGET = |
|---|
| 326 | 322 | |
|---|
| 327 | | MYSQL_PREFIX = yes |
|---|
| 328 | | |
|---|
| 329 | | # '' for MYSQL_PREFIX = yes, infront or behind for MYSQL_PREFIX = no |
|---|
| | 323 | MYSQL_PREFIX = no |
|---|
| | 324 | |
|---|
| | 325 | # '' for MYSQL_PREFIX = no, |
|---|
| | 326 | # 'infront' or 'behind' for MYSQL_PREFIX = yes |
|---|
| 330 | 327 | MYSQL_PREFIX_TYPE = |
|---|
| 331 | 328 | |
|---|
| … | … | |
| 345 | 342 | |
|---|
| 346 | 343 | # |
|---|
| 347 | | # htaccess management (21.04.2005). |
|---|
| | 344 | # htaccess management |
|---|
| 348 | 345 | # |
|---|
| 349 | 346 | |
|---|
| … | … | |
| 355 | 352 | |
|---|
| 356 | 353 | # |
|---|
| 357 | | # backup management (16.05.2005). |
|---|
| | 354 | # backup management |
|---|
| 358 | 355 | # |
|---|
| 359 | 356 | |
|---|
| r418 |
r441 |
|
| 1 | 1 | #!/usr/bin/perl |
|---|
| 2 | 2 | |
|---|
| 3 | | # VHCS(tm) - Virtual Hosting Control System |
|---|
| | 3 | # VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| 4 | 4 | # Copyright (c) 2001-2006 by moleSoftware GmbH |
|---|
| 5 | 5 | # http://www.molesoftware.com |
|---|
| … | … | |
| 31 | 31 | # |
|---|
| 32 | 32 | |
|---|
| 33 | | |
|---|
| 34 | | |
|---|
| 35 | 33 | use FindBin; |
|---|
| 36 | 34 | use lib "$FindBin::Bin/.."; |
|---|
| … | … | |
| 38 | 36 | |
|---|
| 39 | 37 | use strict; |
|---|
| 40 | | |
|---|
| 41 | 38 | use warnings; |
|---|
| 42 | 39 | |
|---|
| … | … | |
| 51 | 48 | my $welcome_message = <<MSG; |
|---|
| 52 | 49 | |
|---|
| 53 | | Welcome in VHCS2 '$main::cfg{'VersionH'}' Uninstall Program. |
|---|
| 54 | | |
|---|
| 55 | | This program will uninstall VHCS system from your server. |
|---|
| 56 | | All domain users and their accounts will be removed. |
|---|
| | 50 | Welcome in VHCS OMEGA '$main::cfg{'VersionH'}' Uninstall Program. |
|---|
| | 51 | |
|---|
| | 52 | This program will uninstall VHCS OMEGA system from your server. |
|---|
| | 53 | |
|---|
| | 54 | /!\ WARNING: All domain users and their accounts will be removed. /!\ |
|---|
| 57 | 55 | |
|---|
| 58 | 56 | Please press 'Enter' to continue. |
|---|
| … | … | |
| 61 | 59 | print STDOUT $welcome_message; |
|---|
| 62 | 60 | |
|---|
| 63 | | $rdata = readline(\*STDIN); chop($rdata); |
|---|
| | 61 | $rdata = readline(\*STDIN); |
|---|
| | 62 | chop($rdata); |
|---|
| 64 | 63 | |
|---|
| 65 | 64 | push_el(\@main::el, 'welcome_note()', 'Ending...'); |
|---|
| … | … | |
| 115 | 114 | Congratulations ! |
|---|
| 116 | 115 | |
|---|
| 117 | | VHCS2 '$main::cfg{'VersionH'}' uninstall completed successfully ! |
|---|
| 118 | | |
|---|
| 119 | | Thank you for using our product ! |
|---|
| | 116 | VHCS OMEGA '$main::cfg{'VersionH'}' uninstall completed successfully ! |
|---|
| | 117 | |
|---|
| | 118 | Thank you for using VHCS OMEGA product ! |
|---|
| 120 | 119 | |
|---|
| 121 | 120 | MSG |
|---|
| … | … | |
| 190 | 189 | my ($fuid, $fgid) = ($main::cfg{'MTA_MAILBOX_UID_NAME'}, $main::cfg{'MTA_MAILBOX_GID_NAME'}); |
|---|
| 191 | 190 | |
|---|
| | 191 | my ($muid, $mgid) = ($main::cfg{'APACHE_SUEXEC_MIN_UID'}, $main::cfg{'APACHE_SUEXEC_MIN_GID'}); |
|---|
| | 192 | |
|---|
| 192 | 193 | my ($uid, $gid) = (undef, undef); |
|---|
| 193 | 194 | |
|---|
| … | … | |
| 197 | 198 | my @gdata = (); |
|---|
| 198 | 199 | |
|---|
| 199 | | |
|---|
| 200 | | |
|---|
| | 200 | # |
|---|
| | 201 | # MTA Mailbox User |
|---|
| | 202 | # |
|---|
| 201 | 203 | @udata = getpwnam($fuid); |
|---|
| | 204 | @gdata = getgrnam($fuid); |
|---|
| 202 | 205 | |
|---|
| 203 | 206 | if (scalar(@udata) != 0) { # we have not this one user data; |
|---|
| … | … | |
| 211 | 214 | } |
|---|
| 212 | 215 | |
|---|
| 213 | | @gdata = getgrnam($fuid); |
|---|
| 214 | | |
|---|
| 215 | 216 | if (scalar(@gdata) != 0) { # we have not this one group data; |
|---|
| 216 | 217 | |
|---|
| … | … | |
| 223 | 224 | } |
|---|
| 224 | 225 | |
|---|
| | 226 | # |
|---|
| | 227 | # PHP Master |
|---|
| | 228 | # |
|---|
| | 229 | @udata = getpwnam($muid); |
|---|
| | 230 | @gdata = getgrnam($muid); |
|---|
| | 231 | |
|---|
| | 232 | if (scalar(@udata) != 0) { # we have not this one user data; |
|---|
| | 233 | |
|---|
| | 234 | my $cmd = "$main::cfg{'CMD_USERDEL'} $muid"; |
|---|
| | 235 | |
|---|
| | 236 | $rs = sys_command($cmd); |
|---|
| | 237 | |
|---|
| | 238 | return $rs if ($rs != 0); |
|---|
| | 239 | |
|---|
| | 240 | } |
|---|
| | 241 | |
|---|
| | 242 | if (scalar(@gdata) != 0) { # we have not this one group data; |
|---|
| | 243 | |
|---|
| | 244 | my $cmd = "$main::cfg{'CMD_GROUPDEL'} $muid"; |
|---|
| | 245 | |
|---|
| | 246 | $rs = sys_command($cmd); |
|---|
| | 247 | |
|---|
| | 248 | return $rs if ($rs != 0); |
|---|
| | 249 | |
|---|
| | 250 | } |
|---|
| | 251 | |
|---|
| 225 | 252 | push_el(\@main::el, 'uninstall_system_users()', 'Ending...'); |
|---|
| 226 | 253 | |
|---|
| … | … | |
| 256 | 283 | |
|---|
| 257 | 284 | $rs = del_dir($main::cfg{'LOG_DIR'}); |
|---|
| | 285 | |
|---|
| | 286 | return $rs if ($rs != 0); |
|---|
| | 287 | |
|---|
| | 288 | $rs = del_dir($main::cfg{'PHP_STARTER_DIR'}); |
|---|
| 258 | 289 | |
|---|
| 259 | 290 | return $rs if ($rs != 0); |
|---|
| … | … | |
| 406 | 437 | return $rs if ($rs != 0); |
|---|
| 407 | 438 | |
|---|
| 408 | | |
|---|
| 409 | 439 | } |
|---|
| 410 | 440 | |
|---|
| … | … | |
| 433 | 463 | sys_command_rs("$main::cfg{'CMD_HTTPD'} stop &> /tmp/vhcs2-uninstall-services.log"); |
|---|
| 434 | 464 | |
|---|
| | 465 | sys_command_rs("a2dissite vhcs2.conf &> /tmp/vhcs2-uninstall-services.log"); |
|---|
| | 466 | |
|---|
| 435 | 467 | $rs = del_file($main::cfg{'APACHE_SITES_DIR'}/vhcs2.conf); |
|---|
| 436 | 468 | |
|---|
| 437 | 469 | return $rs if ($rs != 0); |
|---|
| 438 | 470 | |
|---|
| | 471 | sys_command_rs("a2dissite master.conf &> /tmp/vhcs2-uninstall-services.log"); |
|---|
| | 472 | |
|---|
| 439 | 473 | $rs = del_file($main::cfg{'APACHE_SITES_DIR'}/master.conf); |
|---|
| 440 | 474 | |
|---|
| 441 | 475 | return $rs if ($rs != 0); |
|---|
| 442 | 476 | |
|---|
| | 477 | sys_command_rs("a2dismod fastcgi &> /tmp/vhcs2-uninstall-services.log"); |
|---|
| | 478 | |
|---|
| | 479 | $rs = del_file($main::cfg{'APACHE_MODS_DIR'}/fastcgi.conf); |
|---|
| | 480 | |
|---|
| | 481 | return $rs if ($rs != 0); |
|---|
| | 482 | |
|---|
| 443 | 483 | sleep(5); |
|---|
| 444 | 484 | |
|---|
| … | … | |
| 763 | 803 | } |
|---|
| 764 | 804 | |
|---|
| | 805 | ################################################################################ |
|---|
| | 806 | ## MAIN ## |
|---|
| | 807 | ################################################################################ |
|---|
| | 808 | |
|---|
| 765 | 809 | my $rs = undef; |
|---|
| 766 | 810 | |
|---|
| … | … | |
| 834 | 878 | |
|---|
| 835 | 879 | } |
|---|
| 836 | | |
|---|
| r440 |
r441 |
|
| 1646 | 1646 | my $www_dir = $main::cfg{'APACHE_WWW_DIR'}; |
|---|
| 1647 | 1647 | |
|---|
| | 1648 | my $httpd_gid = $main::cfg{'APACHE_GROUP'}; |
|---|
| | 1649 | |
|---|
| 1648 | 1650 | my ($sys_uid, $sys_gid) = get_dmn_suexec_user($dmn_id); |
|---|
| 1649 | 1651 | |
|---|
| … | … | |
| 1660 | 1662 | "$www_dir/$als_name", |
|---|
| 1661 | 1663 | $sys_user, |
|---|
| 1662 | | $sys_group, |
|---|
| | 1664 | $httpd_gid, |
|---|
| 1663 | 1665 | 0770 |
|---|
| 1664 | 1666 | ); |
|---|
| … | … | |
| 1687 | 1689 | "$www_dir/$als_name/logs", |
|---|
| 1688 | 1690 | $sys_user, |
|---|
| 1689 | | $sys_group, |
|---|
| | 1691 | $httpd_gid, |
|---|
| 1690 | 1692 | 0770 |
|---|
| 1691 | 1693 | ); |
|---|
| … | … | |
| 1696 | 1698 | "$www_dir/$als_name/phptmp", |
|---|
| 1697 | 1699 | $sys_user, |
|---|
| 1698 | | $sys_group, |
|---|
| | 1700 | $httpd_gid, |
|---|
| 1699 | 1701 | 0770 |
|---|
| 1700 | 1702 | ); |
|---|
| … | … | |
| 1705 | 1707 | "$www_dir/$als_name/backups", |
|---|
| 1706 | 1708 | $sys_user, |
|---|
| 1707 | | $sys_group, |
|---|
| | 1709 | $httpd_gid, |
|---|
| 1708 | 1710 | 0770 |
|---|
| 1709 | 1711 | ); |
|---|
| … | … | |
| 1764 | 1766 | "\n", |
|---|
| 1765 | 1767 | $sys_user, |
|---|
| 1766 | | $sys_group, |
|---|
| | 1768 | $httpd_gid, |
|---|
| 1767 | 1769 | 0660 |
|---|
| 1768 | 1770 | ); |
|---|
| … | … | |
| 1774 | 1776 | "\n", |
|---|
| 1775 | 1777 | $sys_user, |
|---|
| 1776 | | $sys_group, |
|---|
| | 1778 | $httpd_gid, |
|---|
| 1777 | 1779 | 0660 |
|---|
| 1778 | 1780 | ); |
|---|
| r440 |
r441 |
|
| 1755 | 1755 | my $conf_dir = $main::cfg{'CONF_DIR'}; |
|---|
| 1756 | 1756 | |
|---|
| | 1757 | my $httpd_gid = $main::cfg{'APACHE_GROUP'}; |
|---|
| | 1758 | |
|---|
| 1757 | 1759 | my ($sys_uid, $sys_gid) = get_dmn_suexec_user($dmn_id); |
|---|
| 1758 | 1760 | |
|---|
| … | … | |
| 1811 | 1813 | "$www_dir/$dmn_name", |
|---|
| 1812 | 1814 | $sys_user, |
|---|
| 1813 | | $sys_group, |
|---|
| | 1815 | $httpd_gid, |
|---|
| 1814 | 1816 | 0770 |
|---|
| 1815 | 1817 | ); |
|---|
| … | … | |
| 1838 | 1840 | "$www_dir/$dmn_name/logs", |
|---|
| 1839 | 1841 | $sys_user, |
|---|
| 1840 | | $sys_group, |
|---|
| | 1842 | $httpd_gid, |
|---|
| 1841 | 1843 | 0770 |
|---|
| 1842 | 1844 | ); |
|---|
| … | … | |
| 1847 | 1849 | "$www_dir/$dmn_name/phptmp", |
|---|
| 1848 | 1850 | $sys_user, |
|---|
| 1849 | | $sys_group, |
|---|
| | 1851 | $httpd_gid, |
|---|
| 1850 | 1852 | 0770 |
|---|
| 1851 | 1853 | ); |
|---|
| … | … | |
| 1856 | 1858 | "$www_dir/$dmn_name/backups", |
|---|
| 1857 | 1859 | $sys_user, |
|---|
| 1858 | | $sys_group, |
|---|
| | 1860 | $httpd_gid, |
|---|
| 1859 | 1861 | 0770 |
|---|
| 1860 | 1862 | ); |
|---|
| … | … | |
| 1915 | 1917 | "\n", |
|---|
| 1916 | 1918 | $sys_user, |
|---|
| 1917 | | $sys_group, |
|---|
| | 1919 | $httpd_gid, |
|---|
| 1918 | 1920 | 0640 |
|---|
| 1919 | 1921 | ); |
|---|
| … | … | |
| 1925 | 1927 | "\n", |
|---|
| 1926 | 1928 | $sys_user, |
|---|
| 1927 | | $sys_group, |
|---|
| | 1929 | $httpd_gid, |
|---|
| 1928 | 1930 | 0640 |
|---|
| 1929 | 1931 | ); |
|---|
| r323 |
r441 |
|
| 1 | 1 | <?php |
|---|
| 2 | | // ------------------------------------------------------------------------------- |
|---|
| 3 | | // | VHCS(tm) - Virtual Hosting Control System | |
|---|
| 4 | | // | Copyright (c) 2001-2006 by moleSoftware | |
|---|
| 5 | | // | http://vhcs.net | http://www.molesoftware.com | |
|---|
| 6 | | // | | |
|---|
| 7 | | // | This program is free software; you can redistribute it and/or | |
|---|
| 8 | | // | modify it under the terms of the MPL General Public License | |
|---|
| 9 | | // | as published by the Free Software Foundation; either version 1.1 | |
|---|
| 10 | | // | of the License, or (at your option) any later version. | |
|---|
| 11 | | // | | |
|---|
| 12 | | // | You should have received a copy of the MPL Mozilla Public License | |
|---|
| 13 | | // | along with this program; if not, write to the Open Source Initiative (OSI) | |
|---|
| 14 | | // | http://opensource.org | osi@opensource.org | |
|---|
| 15 | | // | | |
|---|
| 16 | | // ------------------------------------------------------------------------------- |
|---|
| | 2 | /** |
|---|
| | 3 | * VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 4 | * |
|---|
| | 5 | * @copyright 2001-2006 by moleSoftware GmbH |
|---|
| | 6 | * @copyright 2006-2007 by ispCP | http://isp-control.net |
|---|
| | 7 | * @link http://isp-control.net |
|---|
| | 8 | * @author VHCS Team, Benedikt Heintel (2007) |
|---|
| | 9 | * |
|---|
| | 10 | * @license |
|---|
| | 11 | * This program is free software; you can redistribute it and/or modify it under |
|---|
| | 12 | * the terms of the MPL General Public License as published by the Free Software |
|---|
| | 13 | * Foundation; either version 1.1 of the License, or (at your option) any later |
|---|
| | 14 | * version. |
|---|
| | 15 | * You should have received a copy of the MPL Mozilla Public License along with |
|---|
| | 16 | * this program; if not, write to the Open Source Initiative (OSI) |
|---|
| | 17 | * http://opensource.org | osi@opensource.org |
|---|
| | 18 | **/ |
|---|
| 17 | 19 | |
|---|
| 18 | 20 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 239 | 241 | |
|---|
| 240 | 242 | $user_def_lang = $_SESSION['user_def_lang']; |
|---|
| 241 | | $user_theme_color = $_SESSION['user_theme_color']; |
|---|
| | 243 | $user_theme_color = $_SESSION['user_theme']; |
|---|
| 242 | 244 | $user_logo = 0; |
|---|
| 243 | 245 | |
|---|
| r323 |
r441 |
|
| 1 | 1 | <?php |
|---|
| 2 | | // ------------------------------------------------------------------------------- |
|---|
| 3 | | // | VHCS(tm) - Virtual Hosting Control System | |
|---|
| 4 | | // | Copyright (c) 2001-2005 by moleSoftware | |
|---|
| 5 | | // | http://vhcs.net | http://www.molesoftware.com | |
|---|
| 6 | | // | | |
|---|
| 7 | | // | This program is free software; you can redistribute it and/or | |
|---|
| 8 | | // | modify it under the terms of the MPL General Public License | |
|---|
| 9 | | // | as published by the Free Software Foundation; either version 1.1 | |
|---|
| 10 | | // | of the License, or (at your option) any later version. | |
|---|
| 11 | | // | | |
|---|
| 12 | | // | You should have received a copy of the MPL Mozilla Public License | |
|---|
| 13 | | // | along with this program; if not, write to the Open Source Initiative (OSI) | |
|---|
| 14 | | // | http://opensource.org | osi@opensource.org | |
|---|
| 15 | | // | | |
|---|
| 16 | | // ------------------------------------------------------------------------------- |
|---|
| 17 | | |
|---|
| 18 | | |
|---|
| | 2 | /** |
|---|
| | 3 | * VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 4 | * |
|---|
| | 5 | * @copyright 2001-2006 by moleSoftware GmbH |
|---|
| | 6 | * @copyright 2006-2007 by ispCP | http://isp-control.net |
|---|
| | 7 | * @link http://isp-control.net |
|---|
| | 8 | * @author VHCS Team, Benedikt Heintel (2007) |
|---|
| | 9 | * |
|---|
| | 10 | * @license |
|---|
| | 11 | * This program is free software; you can redistribute it and/or modify it under |
|---|
| | 12 | * the terms of the MPL General Public License as published by the Free Software |
|---|
| | 13 | * Foundation; either version 1.1 of the License, or (at your option) any later |
|---|
| | 14 | * version. |
|---|
| | 15 | * You should have received a copy of the MPL Mozilla Public License along with |
|---|
| | 16 | * this program; if not, write to the Open Source Initiative (OSI) |
|---|
| | 17 | * http://opensource.org | osi@opensource.org |
|---|
| | 18 | **/ |
|---|
| 19 | 19 | |
|---|
| 20 | 20 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 130 | 130 | |
|---|
| 131 | 131 | $user_def_lang = $_SESSION['user_def_lang']; |
|---|
| 132 | | $user_theme_color = $_SESSION['user_theme_color']; |
|---|
| | 132 | $user_theme_color = $_SESSION['user_theme']; |
|---|
| 133 | 133 | $user_logo = 0; |
|---|
| 134 | 134 | |
|---|
| r323 |
r441 |
|
| 1 | 1 | <?php |
|---|
| 2 | | // ------------------------------------------------------------------------------- |
|---|
| 3 | | // | VHCS(tm) - Virtual Hosting Control System | |
|---|
| 4 | | // | Copyright (c) 2001-2006 by moleSoftware | |
|---|
| 5 | | // | http://vhcs.net | http://www.molesoftware.com | |
|---|
| 6 | | // | | |
|---|
| 7 | | // | This program is free software; you can redistribute it and/or | |
|---|
| 8 | | // | modify it under the terms of the MPL General Public License | |
|---|
| 9 | | // | as published by the Free Software Foundation; either version 1.1 | |
|---|
| 10 | | // | of the License, or (at your option) any later version. | |
|---|
| 11 | | // | | |
|---|
| 12 | | // | You should have received a copy of the MPL Mozilla Public License | |
|---|
| 13 | | // | along with this program; if not, write to the Open Source Initiative (OSI) | |
|---|
| 14 | | // | http://opensource.org | osi@opensource.org | |
|---|
| 15 | | // | | |
|---|
| 16 | | // ------------------------------------------------------------------------------- |
|---|
| 17 | | |
|---|
| | 2 | /** |
|---|
| | 3 | * VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 4 | * |
|---|
| | 5 | * @copyright 2001-2006 by moleSoftware GmbH |
|---|
| | 6 | * @copyright 2006-2007 by ispCP | http://isp-control.net |
|---|
| | 7 | * @link http://isp-control.net |
|---|
| | 8 | * @author VHCS Team, Benedikt Heintel (2007) |
|---|
| | 9 | * |
|---|
| | 10 | * @license |
|---|
| | 11 | * This program is free software; you can redistribute it and/or modify it under |
|---|
| | 12 | * the terms of the MPL General Public License as published by the Free Software |
|---|
| | 13 | * Foundation; either version 1.1 of the License, or (at your option) any later |
|---|
| | 14 | * version. |
|---|
| | 15 | * You should have received a copy of the MPL Mozilla Public License along with |
|---|
| | 16 | * this program; if not, write to the Open Source Initiative (OSI) |
|---|
| | 17 | * http://opensource.org | osi@opensource.org |
|---|
| | 18 | **/ |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 38 | 39 | { |
|---|
| 39 | 40 | global $cfg; |
|---|
| 40 | | if ($cfg['MYSQL_PREFIX'] === 'no') { |
|---|
| | 41 | if ($cfg['MYSQL_PREFIX'] === 'yes') { |
|---|
| 41 | 42 | $tpl -> assign('MYSQL_PREFIX_YES', ''); |
|---|
| 42 | 43 | } else { |
|---|
| r323 |
r441 |
|
| 1 | 1 | <?php |
|---|
| 2 | | // ------------------------------------------------------------------------------- |
|---|
| 3 | | // | VHCS(tm) - Virtual Hosting Control System | |
|---|
| 4 | | // | Copyright (c) 2001-2006 by moleSoftware | |
|---|
| 5 | | // | http://vhcs.net | http://www.molesoftware.com | |
|---|
| 6 | | // | | |
|---|
| 7 | | // | This program is free software; you can redistribute it and/or | |
|---|
| 8 | | // | modify it under the terms of the MPL General Public License | |
|---|
| 9 | | // | as published by the Free Software Foundation; either version 1.1 | |
|---|
| 10 | | // | of the License, or (at your option) any later version. | |
|---|
| 11 | | // | | |
|---|
| 12 | | // | You should have received a copy of the MPL Mozilla Public License | |
|---|
| 13 | | // | along with this program; if not, write to the Open Source Initiative (OSI) | |
|---|
| 14 | | // | http://opensource.org | osi@opensource.org | |
|---|
| 15 | | // | | |
|---|
| 16 | | // ------------------------------------------------------------------------------- |
|---|
| | 2 | /** |
|---|
| | 3 | * VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 4 | * |
|---|
| | 5 | * @copyright 2001-2006 by moleSoftware GmbH |
|---|
| | 6 | * @copyright 2006-2007 by ispCP | http://isp-control.net |
|---|
| | 7 | * @link http://isp-control.net |
|---|
| | 8 | * @author VHCS Team, Benedikt Heintel (2007) |
|---|
| | 9 | * |
|---|
| | 10 | * @license |
|---|
| | 11 | * This program is free software; you can redistribute it and/or modify it under |
|---|
| | 12 | * the terms of the MPL General Public License as published by the Free Software |
|---|
| | 13 | * Foundation; either version 1.1 of the License, or (at your option) any later |
|---|
| | 14 | * version. |
|---|
| | 15 | * You should have received a copy of the MPL Mozilla Public License along with |
|---|
| | 16 | * this program; if not, write to the Open Source Initiative (OSI) |
|---|
| | 17 | * http://opensource.org | osi@opensource.org |
|---|
| | 18 | **/ |
|---|
| 17 | 19 | |
|---|
| 18 | 20 | function gen_num_limit_msg($num, $limit) { |
|---|
| … | … | |
| 391 | 393 | } else { |
|---|
| 392 | 394 | |
|---|
| 393 | | $user_def_layout = $_SESSION['user_theme_color']; |
|---|
| | 395 | $user_def_layout = $_SESSION['user_theme']; |
|---|
| 394 | 396 | |
|---|
| 395 | 397 | $user_def_lang = $_SESSION['user_def_lang']; |
|---|
| r323 |
r441 |
|
| 1 | 1 | <?php |
|---|
| 2 | | // ------------------------------------------------------------------------------- |
|---|
| 3 | | // | VHCS(tm) - Virtual Hosting Control System | |
|---|
| 4 | | // | Copyright (c) 2001-2005 by moleSoftware | |
|---|
| 5 | | // | http://vhcs.net | http://www.molesoftware.com | |
|---|
| 6 | | // | | |
|---|
| 7 | | // | This program is free software; you can redistribute it and/or | |
|---|
| 8 | | // | modify it under the terms of the MPL General Public License | |
|---|
| 9 | | // | as published by the Free Software Foundation; either version 1.1 | |
|---|
| 10 | | // | of the License, or (at your option) any later version. | |
|---|
| 11 | | // | | |
|---|
| 12 | | // | You should have received a copy of the MPL Mozilla Public License | |
|---|
| 13 | | // | along with this program; if not, write to the Open Source Initiative (OSI) | |
|---|
| 14 | | // | http://opensource.org | osi@opensource.org | |
|---|
| 15 | | // | | |
|---|
| 16 | | // ------------------------------------------------------------------------------- |
|---|
| 17 | | |
|---|
| | 2 | /** |
|---|
| | 3 | * VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 4 | * |
|---|
| | 5 | * @copyright 2001-2006 by moleSoftware GmbH |
|---|
| | 6 | * @copyright 2006-2007 by ispCP | http://isp-control.net |
|---|
| | 7 | * @link http://isp-control.net |
|---|
| | 8 | * @author VHCS Team, Benedikt Heintel (2007) |
|---|
| | 9 | * |
|---|
| | 10 | * @license |
|---|
| | 11 | * This program is free software; you can redistribute it and/or modify it under |
|---|
| | 12 | * the terms of the MPL General Public License as published by the Free Software |
|---|
| | 13 | * Foundation; either version 1.1 of the License, or (at your option) any later |
|---|
| | 14 | * version. |
|---|
| | 15 | * You should have received a copy of the MPL Mozilla Public License along with |
|---|
| | 16 | * this program; if not, write to the Open Source Initiative (OSI) |
|---|
| | 17 | * http://opensource.org | osi@opensource.org |
|---|
| | 18 | **/ |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 67 | 68 | } else { |
|---|
| 68 | 69 | |
|---|
| 69 | | $user_def_layout = $_SESSION['user_theme_color']; |
|---|
| | 70 | $user_def_layout = $_SESSION['user_theme']; |
|---|
| 70 | 71 | |
|---|
| 71 | 72 | |
|---|
|