View Single Post
  #13  
Old 4th July 2011, 12:48
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,411
Thanks: 834
Thanked 5,496 Times in 4,326 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