Release version 1.0.0
Dieser Commit ist enthalten in:
Ursprung
7d1f043bed
Commit
d098573903
18 geänderte Dateien mit 312 neuen und 287 gelöschten Zeilen
|
|
@ -31,56 +31,56 @@ if (!defined('CON_FRAMEWORK')) {
|
|||
global $cfg;
|
||||
|
||||
// Use advanced mod_rewrites ( 1 = yes, 0 = none )
|
||||
$cfg['mod_rewrite']['use'] = 0;
|
||||
$cfg['cl-mod-rewrite']['use'] = 0;
|
||||
|
||||
// Path to the htaccess file with trailling slash from domain-root!
|
||||
$cfg['mod_rewrite']['rootdir'] = '/';
|
||||
$cfg['cl-mod-rewrite']['rootdir'] = '/';
|
||||
|
||||
// Check path to the htaccess file ( 1 = yes, 0 = none )
|
||||
$cfg['mod_rewrite']['checkrootdir'] = 1;
|
||||
$cfg['cl-mod-rewrite']['checkrootdir'] = 1;
|
||||
|
||||
// Start TreeLocation from Root Tree (set to 1) or get location from first category (set to 0)
|
||||
$cfg['mod_rewrite']['startfromroot'] = 0;
|
||||
$cfg['cl-mod-rewrite']['startfromroot'] = 0;
|
||||
|
||||
// Prevent Duplicated Content, if startfromroot is enabled ( 1 = yes, 0 = none )
|
||||
$cfg['mod_rewrite']['prevent_duplicated_content'] = 0;
|
||||
$cfg['cl-mod-rewrite']['prevent_duplicated_content'] = 0;
|
||||
|
||||
// is multilanguage? ( 1 = yes, 0 = none )
|
||||
$cfg['mod_rewrite']['use_language'] = 0;
|
||||
$cfg['cl-mod-rewrite']['use_language'] = 0;
|
||||
|
||||
// use language name in url? ( 1 = yes, 0 = none )
|
||||
$cfg['mod_rewrite']['use_language_name'] = 0;
|
||||
$cfg['cl-mod-rewrite']['use_language_name'] = 0;
|
||||
|
||||
// is multiclient in only one directory? ( 1 = yes, 0 = none )
|
||||
$cfg['mod_rewrite']['use_client'] = 0;
|
||||
$cfg['cl-mod-rewrite']['use_client'] = 0;
|
||||
|
||||
// use client name in url? ( 1 = yes, 0 = none )
|
||||
$cfg['mod_rewrite']['use_client_name'] = 0;
|
||||
$cfg['cl-mod-rewrite']['use_client_name'] = 0;
|
||||
|
||||
// use lowercase url? ( 1 = yes, 0 = none )
|
||||
$cfg['mod_rewrite']['use_lowercase_uri'] = 1;
|
||||
$cfg['cl-mod-rewrite']['use_lowercase_uri'] = 1;
|
||||
|
||||
// file extension for article links
|
||||
$cfg['mod_rewrite']['file_extension'] = '.html';
|
||||
$cfg['cl-mod-rewrite']['file_extension'] = '.html';
|
||||
|
||||
// The percentage if the category name have to match with database names.
|
||||
$cfg['mod_rewrite']['category_resolve_min_percentage'] = '75';
|
||||
$cfg['cl-mod-rewrite']['category_resolve_min_percentage'] = '75';
|
||||
|
||||
// Add start article name to url (1 = yes, 0 = none)
|
||||
$cfg['mod_rewrite']['add_startart_name_to_url'] = 1;
|
||||
$cfg['cl-mod-rewrite']['add_startart_name_to_url'] = 1;
|
||||
|
||||
// Default start article name to use, depends on active add_startart_name_to_url
|
||||
$cfg['mod_rewrite']['default_startart_name'] = 'index';
|
||||
$cfg['cl-mod-rewrite']['default_startart_name'] = 'index';
|
||||
|
||||
// Rewrite urls on generating the code for the page. If active, the responsibility will be
|
||||
// outsourced to moduleoutputs and you have to adapt the moduleoutputs manually. Each output of
|
||||
// internal article/category links must be processed by using $sess->url. (1 = yes, 0 = none)
|
||||
$cfg['mod_rewrite']['rewrite_urls_at_congeneratecode'] = 0;
|
||||
$cfg['cl-mod-rewrite']['rewrite_urls_at_congeneratecode'] = 0;
|
||||
|
||||
// Rewrite urls on output of htmlcode at front_content.php. Is the old way, and doesn't require
|
||||
// adapting of moduleoutputs. On the other hand usage of this way will be slower than rewriting
|
||||
// option above. (1 = yes, 0 = none)
|
||||
$cfg['mod_rewrite']['rewrite_urls_at_front_content_output'] = 1;
|
||||
$cfg['cl-mod-rewrite']['rewrite_urls_at_front_content_output'] = 1;
|
||||
|
||||
|
||||
// Following five settings write urls like this one:
|
||||
|
|
@ -89,26 +89,26 @@ $cfg['mod_rewrite']['rewrite_urls_at_front_content_output'] = 1;
|
|||
// backend.
|
||||
// NOTE: category_seperator and article_seperator must contain different character.
|
||||
// Separator for categories
|
||||
$cfg['mod_rewrite']['category_seperator'] = '/';
|
||||
$cfg['cl-mod-rewrite']['category_seperator'] = '/';
|
||||
|
||||
// Separator between category and article
|
||||
$cfg['mod_rewrite']['article_seperator'] = '/';
|
||||
$cfg['cl-mod-rewrite']['article_seperator'] = '/';
|
||||
|
||||
// Word seperator in category names
|
||||
$cfg['mod_rewrite']['category_word_seperator'] = '-';
|
||||
$cfg['cl-mod-rewrite']['category_word_seperator'] = '-';
|
||||
|
||||
// Word seperator in article names
|
||||
$cfg['mod_rewrite']['article_word_seperator'] = '-';
|
||||
$cfg['cl-mod-rewrite']['article_word_seperator'] = '-';
|
||||
|
||||
|
||||
// Routing settings for incomming urls. Here you can define routing rules as follows:
|
||||
// $cfg['mod_rewrite']['routing'] = array(
|
||||
// $cfg['cl-mod-rewrite']['routing'] = array(
|
||||
// '/a_incomming/url/foobar.html' => '/new_url/foobar.html', # route /a_incomming/url/foobar.html to /new_url/foobar.html
|
||||
// '/cms/' => '/' # route /cms/ to / (doc root of client)
|
||||
// );
|
||||
$cfg['mod_rewrite']['routing'] = array();
|
||||
$cfg['cl-mod-rewrite']['routing'] = array();
|
||||
|
||||
|
||||
// Redirect invalid articles to errorpage (1 = yes, 0 = none)
|
||||
$cfg['mod_rewrite']['redirect_invalid_article_to_errorsite'] = 0;
|
||||
$cfg['cl-mod-rewrite']['redirect_invalid_article_to_errorsite'] = 0;
|
||||
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren