initial commit; version 22.5.12042
This commit is contained in:
29
test_code.php
Executable file
29
test_code.php
Executable file
@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Observium
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage syslog
|
||||
* @author Adam Armstrong <adama@observium.org>
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
*
|
||||
*/
|
||||
|
||||
// This file allows you to test code using observium's libraries. It's a quick diagnostic tool.
|
||||
// You probably don't need to use it.
|
||||
|
||||
|
||||
chdir(dirname($argv[0]));
|
||||
$scriptname = basename($argv[0]);
|
||||
|
||||
include_once("includes/sql-config.inc.php");
|
||||
include_once("html/includes/functions.inc.php");
|
||||
|
||||
include($argv[1]);
|
||||
|
||||
|
||||
// EOF
|
||||
Reference in New Issue
Block a user