correct trifles
This commit is contained in:
parent
1779c38218
commit
23346a78b5
|
@ -20,34 +20,6 @@
|
|||
*/
|
||||
abstract class BottomlevelAgent extends \nre\core\Agent
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Load a BottomlevelAgent.
|
||||
*
|
||||
* @throws AgentNotFoundException
|
||||
* @throws AgentNotValidException
|
||||
* @param string $agentName BottomlevelAgent name
|
||||
*/
|
||||
public static function load($agentName)
|
||||
{
|
||||
// Load class
|
||||
parent::load_agent($agentName, Autoloader::getClassName(get_class()));
|
||||
|
||||
// Determine full classname
|
||||
$className = Autoloader::concatClassNames($agentName, Autoloader::getClassType(get_class()));
|
||||
|
||||
// Validate class
|
||||
try {
|
||||
ClassLoader::check($className, get_class());
|
||||
}
|
||||
catch(ClassNotValidException $e) {
|
||||
throw new AgentNotValidException($e->getClassName());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -299,7 +299,7 @@
|
|||
|
||||
// Determine prefix
|
||||
$ppos = array(strlen($uri));
|
||||
if(($p = strpos($uri, '/'.$request->getParam(1, \nre\configs\AppConfig::$defaults['intermediate']))) !== false) {
|
||||
if(($p = strpos($uri, '/'.$request->getParam(1, 'intermediate'))) !== false) {
|
||||
$ppos[] = $p;
|
||||
}
|
||||
$prefix = substr($uri, 0, min($ppos));
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
*/
|
||||
function __construct($controllerName)
|
||||
{
|
||||
// Elternkonstruktor aufrufen
|
||||
parent::__construct(
|
||||
$controllerName,
|
||||
self::MESSAGE,
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
*/
|
||||
function __construct($controllerName)
|
||||
{
|
||||
// Elternkonstruktor aufrufen
|
||||
parent::__construct(
|
||||
$controllerName,
|
||||
self::MESSAGE,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta charset="utf-8" />
|
||||
<title>Service Unavailable</title>
|
||||
</head>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
RewriteBase /
|
||||
RewriteBase /
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L,NE]
|
||||
|
|
Loading…
Reference in a new issue