Last login value, minor update for array to [, smarty include core
When logged in, the last loggedin time is stored in the edit_user table, additional to the normal logging. More array() to [] conversion in config files, etc Javascript: add math.round Basic Class: Fix key length array mapping to more efficiont loop run DB/IO: some name fixes in get key function description/comments SmartyExtended: add CORE CSS/JS file include if exists. Follows after MAIN and BEFORE page and special
This commit is contained in:
@@ -22,7 +22,7 @@ if (!defined('DS')) {
|
||||
exit('Base config unloadable');
|
||||
}
|
||||
// find trigger name "admin/" or "frontend/" in the getcwd() folder
|
||||
foreach (array('admin', 'frontend') as $folder) {
|
||||
foreach (['admin', 'frontend'] as $folder) {
|
||||
if (strstr(getcwd(), DS.$folder)) {
|
||||
define('CONTENT_PATH', $folder.DS);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user