URLs
to be able to use original URLs, not full path to installed subfolder
e_url.php
_BASEURL
Add sitelink



includes/pagesetup.php
panel URLs, browse.php
Last updated
to be able to use original URLs, not full path to installed subfolder



Last updated
$config['viewstory'] = array(
'alias' => 'viewstory.php',
'regex' => '^{alias}\/?([\?].*)?\/?$',
'sef' => '{alias}',
'redirect' => '{e_PLUGIN}efiction/viewstory.php$1',
);
while (!file_exists($folder_level."header.php")) { $folder_level .= "../"; }
if(!defined("_BASEDIR")) define("_BASEDIR", $folder_level);if (!defined('_BASEDIR')) {
define('_BASEDIR', e_PLUGIN.'efiction/');
}include("includes/pagesetup.php");include(_BASEDIR."includes/pagesetup.php");include("includes/storyblock.php");
include("includes/seriesblock.php");
include("includes/listings.php");
include("includes/reviewform.php");
include("includes/emailer.php");
include("includes/deletefunctions.php");if($panel['panel_url'] && file_exists(_BASEDIR.$panel['panel_url'])) include($panel['panel_url']);
else if(file_exists("browse/{$type}.php")) include("browse/{$type}.php"); if($panel['panel_url'] && file_exists(_BASEDIR.$panel['panel_url'])) include(_BASEDIR.$panel['panel_url']);
else if(file_exists(_BASEDIR."browse/{$type}.php")) include(_BASEDIR."browse/{$type}.php");