コード例 #1
0
ファイル: index.php プロジェクト: bireme/proethos
// restricts commercial use of the Software.
//
// ProEthos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
// PARTICULAR PURPOSE. See the ProEthos License for more details.
//
// You should have received a copy of the ProEthos License along with the ProEthos
// Software. If not, see
// https://raw.githubusercontent.com/bireme/proethos/master/LICENSE.txt
require "cab_install.php";
require "_class_install.php";
$inst = new install();
/* Header */
echo '<h1>Config at Data Base</h1>';
/* Check if directory exist */
$chk = $inst->check_directory_privileges('../_db');
/* Mostrar erro se $chk for diferente de 1 */
if ($chk != 1) {
    echo '<div class="erro">';
    echo $chk;
    echo '</div>';
    exit;
}
/* Formulario */
require $include . "_class_form.php";
$form = new form();
/* Formulário Campos */
$ops = '';
$ops .= ' : ';
$ops .= '&mysql:MYSQL';
$ops .= '&mysqlPDO:MySQL(PDO)';