View Single Post
Old 4th July 2011, 13:48
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

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
Reply With Quote