mirror of
https://github.com/e107inc/e107.git
synced 2025-03-31 02:32:37 +02:00
Theme check - Extra test to fix added.
This commit is contained in:
parent
024287d821
commit
c41a0460dc
@ -91,6 +91,11 @@
|
||||
3 => '/user/settings?',
|
||||
4 => 'script.php$',
|
||||
),
|
||||
'script_match' =>
|
||||
array(
|
||||
0 => 'myplugin/index.php$', // <-- $ = script name match
|
||||
|
||||
),
|
||||
);
|
||||
|
||||
$defaultLayout = "jumbotron_sidebar_right";
|
||||
@ -117,6 +122,7 @@
|
||||
17 => array('url' => SITEURL."/user/settings?id=1", 'script' => 'usersettings.php', 'expected' => 'other_layout'),
|
||||
18 => array('url' => SITEURL."/user/Tijn", 'script' => 'user.php', 'expected' => 'jumbotron_sidebar_right'),
|
||||
19 => array('url' => SITEURL."user.php?id.1", 'script' => 'user.php', 'expected' => 'jumbotron_sidebar_right'),
|
||||
20 => array('url' => SITEURL."pluginpage/", 'script' => 'e107_plugins/myplugin/index.php', 'expected' => 'script_match'),
|
||||
|
||||
|
||||
);
|
||||
@ -130,6 +136,8 @@
|
||||
}
|
||||
|
||||
|
||||
// print_r($_SERVER);
|
||||
|
||||
}
|
||||
/*
|
||||
public function testClearCache()
|
||||
|
Loading…
x
Reference in New Issue
Block a user