[ 'host' => '127.0.0.1', 'user' => 'bondarev_craftsmen', 'pass' => 'hKc49sjv65hJ', 'db' => 'bondarev_briarclub14', ], 'host' => $host, 'roots' => '/home/bondarev/sites/briar.club/roots', 'modulesdirs' => [ 'BriarClub' => '/home/bondarev/sites/briar.club/modules' ], 'blockprefix' => 'briarclub' ]); } else { include('/home/bondarev/distr3/SitesService-13/SitesService-13-0.php'); $ax = new SitesService([ 'root' => '/home/bondarev/craftsmen/', 'db' => [ 'host' => '127.0.0.1', 'user' => 'bondarev_craftsmen', 'pass' => 'hKc49sjv65hJ', 'db' => 'bondarev_briarclub', ], 'host' => $host, 'modulesdir' => '/home/bondarev/distr3/AxModules-13/', 'sitesservice' => [ 'templates' => '/home/bondarev/distr3/Craftsmen-13/templates/', 'presets' => '/home/bondarev/distr3/Craftsmen-13/presets/', 'roots' => '/home/bondarev/sites/briar.club/roots/', 'adminlogo' => 'http://briar.club/adminlogo.png', 'superadmin' => 1 ] ]); } $ax->out(); /* if (isset($_GET['test'])) { foreach ($axdb->get("SELECT * FROM messages WHERE Section LIKE '%/messages'") as $r) { $section = substr($r['Section'], 0, -8) . 'mailform'; echo $section; ax_print($r); $axdb->update('messages', ['Section' => $section], $r['ID']); } } */ ?>