'^gallery/?$', // matched against url, and if true, redirected to 'redirect' below. 'sef' => (!empty($pref[e_LAN]['news'])) ? $pref[e_LAN]['news'] : 'news', // used by e107::url(); to create a url from the db table. 'redirect' => '{e_BASE}news.php', // file-path of what to load when the regex returns true. ); return $config; } }