<?php include_once dirname(__FILE__) . "/__settings__.php"; application_settings(__FILE__, null, dirname(dirname(__FILE__))); import("core.Log"); import("core.Flow"); import("core.File"); import("ext.Test"); import("ext.Setup"); header_output_text(); $flow = new Flow(); if ($flow->isVars("class")) { test($flow->inVars("class"), $flow->inVars("method"), $flow->inVars("block")); } else { if (!$flow->isVars("full")) { Test::exec_type(Test::FAIL); } tests(root_path()); }
$rhacopath .= "/"; } if ($rp == "" && is_file($rhacopath . "__rhaco__.php")) { $rp = $rhacopath . "__rhaco__.php"; } if ($rp == "" && is_file(dirname(dirname(__FILE__)) . "/rhaco/__rhaco__.php")) { $rp = dirname(dirname(__FILE__)) . "/rhaco/__rhaco__.php"; } if ($rp == "" && is_file(dirname(__FILE__) . "/modules/rhaco/__rhaco__.php")) { $rp = dirname(__FILE__) . "/modules/rhaco/__rhaco__.php"; } if ($rp != "" && (include_once $rp)) { $isrhaco = true; } if ($isrhaco) { application_settings(__FILE__); } } if ($isrhaco) { import("core.Log"); import("ext.Test"); import("ext.Setup"); import("ext.Info"); } if (!empty($_SERVER["HTTP_USER_AGENT"])) { import("generic.Crud"); R(new Crud())->handler()->output(); } $__encode__ = substr(PHP_OS, 0, 3) == 'WIN' ? "SJIS" : "UTF8"; $__multi__ = 0; $__store__ = "";