* @copyright 2003-2015 PgPool Global Development Group * @version CVS: $Id$ */ require_once('../version.php'); require_once('../bootstrap.php'); session_start(); require_once('setLang.php'); $error = FALSE; $action = ''; if (isset($_POST['action'])) { $action = $_POST['action']; } // Check templates_c $templates_c = dirname(dirname(__FILE__) . '/') . '/templates_c'; if (!is_writable($templates_c)) { $templates_c = $templates_c . ' write denied'; $error = TRUE; } else { unset($templates_c); } // Chech pgmgt.conf $conf = dirname(dirname(__FILE__) . '/') . '/conf/pgmgt.conf.php'; if (!is_writable($conf)) { $conf = $conf . ' write denied'; $error = TRUE; } else { unset($conf); } if (!$error && $action == 'next') { header("Location: checkParameter.php"); } ?>