Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Commit

Permalink
hide map for Character groups Quest Stations when there are no stations
Browse files Browse the repository at this point in the history
  • Loading branch information
coderkun committed Apr 9, 2016
0 parents commit df14dfa
Show file tree
Hide file tree
Showing 4,371 changed files with 1,220,224 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 10 additions & 0 deletions .hgignore
@@ -0,0 +1,10 @@
syntax: regexp
^logs/*
^media/*
^tmp/*
^uploads/*
^seminarymedia/*
^seminaryuploads/*
^www/analytics/config/config.ini.php*
^www/analytics/temp/*
^app/lib/phpqrcode/cache/*
50 changes: 50 additions & 0 deletions .htaccess
@@ -0,0 +1,50 @@
Options -Indexes -MultiViews

ErrorDocument 403 /www/error403.html
ErrorDocument 404 /www/error404.html
ErrorDocument 500 /www/error500.html



<IfModule mod_authz_core.c>
Require all granted

<Files ~ "\.inc$">
Require all denied
</Files>

<Files ~ "\.tpl$">
Require all denied
</Files>

<Files ~ "\.log$">
Require all denied
</Files>
</IfModule>

<IfModule !mod_authz_core.c>
Allow From All

<Files ~ "\.inc$">
Order Deny,Allow
Deny From All
</Files>

<Files ~ "\.tpl$">
Order Deny,Allow
Deny From All
</Files>

<Files ~ "\.log$">
Order Deny,Allow
Deny From All
</Files>
</IfModule>


<IfModule mod_rewrite.c>
RewriteEngine On

RewriteBase /
RewriteRule ^(.*)$ www/$1 [L]
</IfModule>
25 changes: 25 additions & 0 deletions agents/BottomlevelAgent.inc
@@ -0,0 +1,25 @@
<?php

/**
* NRE
*
* @author coderkun <olli@coderkun.de>
* @copyright 2013 coderkun (http://www.coderkun.de)
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.coderkun.de/projects/nre
*/

namespace nre\agents;


/**
* The BottomlevelAgent is the standard Agent and can have indefinite
* SubAgents.
*
* @author coderkun <olli@coderkun.de>
*/
abstract class BottomlevelAgent extends \nre\core\Agent
{
}

?>
49 changes: 49 additions & 0 deletions agents/IntermediateAgent.inc
@@ -0,0 +1,49 @@
<?php

/**
* NRE
*
* @author coderkun <olli@coderkun.de>
* @copyright 2013 coderkun (http://www.coderkun.de)
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.coderkun.de/projects/nre
*/

namespace nre\agents;


/**
* The IntermediateAgent assumes the task of a module. There is only one
* IntermediateAgent per request.
*
* @author coderkun <olli@coderkun.de>
*/
abstract class IntermediateAgent extends \nre\core\Agent
{




/**
* Get the layout if it was explicitly defined.
*
* @param string $agentName Agent name
* @return string Layout of the IntermediateAgent
*/
public static function getLayout($agentName)
{
// Determine classname
$className = Autoloader::concatClassNames($agentName, 'Agent');

// Check property
if(isset($className::$layout)) {
return $className::$layout;
}


return null;
}

}

?>

0 comments on commit df14dfa

Please sign in to comment.