View Single Post
  #13  
Old 4th July 2011, 12:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

Quote:
Originally Posted by erosbk View Post
Is there a variable where to check if I am a slave or if I am master server?
if ($app->dbmaster == $app->db) {
echo "This is a master server";
}
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote