mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Theme check - Extra test to fix added.
This commit is contained in:
@@ -91,6 +91,11 @@
|
|||||||
3 => '/user/settings?',
|
3 => '/user/settings?',
|
||||||
4 => 'script.php$',
|
4 => 'script.php$',
|
||||||
),
|
),
|
||||||
|
'script_match' =>
|
||||||
|
array(
|
||||||
|
0 => 'myplugin/index.php$', // <-- $ = script name match
|
||||||
|
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
$defaultLayout = "jumbotron_sidebar_right";
|
$defaultLayout = "jumbotron_sidebar_right";
|
||||||
@@ -117,6 +122,7 @@
|
|||||||
17 => array('url' => SITEURL."/user/settings?id=1", 'script' => 'usersettings.php', 'expected' => 'other_layout'),
|
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'),
|
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'),
|
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()
|
public function testClearCache()
|
||||||
|
Reference in New Issue
Block a user