Zoninator zone manager plugin – get and set zones programmatically

As advised by the Zoninator developer Mohammad Jangda, you can solve the second part of this problem like this:

    if (z_get_zone(‘home’) == ”) {
        global $zoninator;
        $zoninator->insert_zone( ‘home’, ‘Home’, array(‘description’ => ‘This is the Home Zone programmatically inserted’));
}

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)