Media browser: recursive scan entire content/ tree, /-media/ URL prefix, editor change detection fix
- handleMediaList() now scans content/ recursively for all media files
- URLs use /-media/ prefix mapping directly to content/ (no special cases)
- index.php: added /-media/ route, kept /-assets/ for backward compat
- editor-toolbar.js: fixed editor.on('change') placement (was inside switchMode)
- content-edit.php and content-new.php: back-btn unsaved-changes detection
- Removed unused __editorCleanup global
This commit is contained in:
@@ -31,6 +31,7 @@ class MQTTTracker
|
||||
$configFile = __DIR__ . '/config.json';
|
||||
$this->config = [
|
||||
'enabled' => true,
|
||||
'viewable' => false,
|
||||
'broker_host' => 'localhost',
|
||||
'broker_port' => 1883,
|
||||
'client_id' => 'codepress_cms',
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"enabled": true,
|
||||
"broker_host": "mqtt.prive.noorlander.info",
|
||||
"broker_port": 1883,
|
||||
"viewable": false,
|
||||
"broker_host": "mqtt.lan.noorlander.info",
|
||||
"broker_port": "1883",
|
||||
"client_id": "codepress_cms",
|
||||
"username": "",
|
||||
"password": "",
|
||||
@@ -10,6 +11,6 @@
|
||||
"track_pages": true,
|
||||
"track_performance": true,
|
||||
"track_user_flows": true,
|
||||
"session_timeout": 1800,
|
||||
"geoip_database_path": "/plugins/MQTTTracker/GeoLite2-Country.mmdb"
|
||||
}
|
||||
"session_timeout": "1800",
|
||||
"geoip_database_path": "\/plugins\/MQTTTracker\/GeoLite2-Country.mmdb"
|
||||
}
|
||||
Reference in New Issue
Block a user