initial commit; version 22.5.12042
This commit is contained in:
26
test_db.php
Executable file
26
test_db.php
Executable file
@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
/**
|
||||
* Observium
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage tests
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2021 Observium Limited
|
||||
*
|
||||
*/
|
||||
|
||||
chdir(dirname($argv[0]));
|
||||
|
||||
$options = getopt("ed");
|
||||
|
||||
include_once("includes/sql-config.inc.php");
|
||||
include_once("html/includes/functions.inc.php");
|
||||
|
||||
if (isset($options['e'])) {
|
||||
|
||||
echo export_db_schema();
|
||||
}
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user