From 5c14b6a94a366c98b56c221239e9b0dd4472c7dc Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Tue, 27 Sep 2011 11:59:11 -0400
Subject: [PATCH] - Fedora installer: create a symlink from /usr/share/phpmyadmin to /usr/share/phpMyAdmin (nginx only).
---
install/dist/lib/fedora.lib.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/install/dist/lib/fedora.lib.php b/install/dist/lib/fedora.lib.php
index 757e697..2e3860d 100644
--- a/install/dist/lib/fedora.lib.php
+++ b/install/dist/lib/fedora.lib.php
@@ -965,6 +965,9 @@
symlink($vhost_conf_dir.'/ispconfig.vhost',$vhost_conf_enabled_dir.'/000-ispconfig.vhost');
}
}
+
+ // create symlinks from /usr/share to phpMyAdmin and SquirrelMail, if they are installed
+ if(!@file_exists('/usr/share/phpmyadmin') && @is_dir('/usr/share/phpMyAdmin')) symlink('/usr/share/phpMyAdmin/','/usr/share/phpmyadmin');
}
// Make the Clamav log files readable by ISPConfig
--
Gitblit v1.9.1