File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -476,14 +476,14 @@ function BrowseServer(ctrl) {
476476 lastImageCtrl = ctrl ;
477477 var w = screen . width * 0.7 ;
478478 var h = screen . height * 0.7 ;
479- OpenServerBrowser ( evo . MODX_MANAGER_URL + 'media/browser/' + evo . config . which_browser + '/browser.php?Type=images' , w , h ) ;
479+ OpenServerBrowser ( evo . EVO_MANAGER_URL + 'media/browser/' + evo . config . which_browser + '/browser.php?Type=images' , w , h ) ;
480480}
481481
482482function BrowseFileServer ( ctrl ) {
483483 lastFileCtrl = ctrl ;
484484 var w = screen . width * 0.7 ;
485485 var h = screen . height * 0.7 ;
486- OpenServerBrowser ( evo . MODX_MANAGER_URL + 'media/browser/' + evo . config . which_browser + '/browser.php?Type=files' , w , h ) ;
486+ OpenServerBrowser ( evo . EVO_MANAGER_URL + 'media/browser/' + evo . config . which_browser + '/browser.php?Type=files' , w , h ) ;
487487}
488488
489489function SetUrlChange ( el ) {
Original file line number Diff line number Diff line change 4141 )) ! !} ;
4242 evo .EVO_MANAGER_URL = ' {{ EVO_MANAGER_URL } }' ;
4343 evo .config .which_browser = ' {{ evo ()-> getConfig (' which_browser' )} }' ;
44+ // ============================================
45+ // @deprecated
46+ // @since 3.5.2
47+ // Use evo.EVO_MANAGER_URL instead.
48+ // @todo [remove@3.7] Remove in Evolution CMS 3.7
49+ // ============================================
50+ evo .MODX_MANAGER_URL = ' {{ EVO_MANAGER_URL } }' ;
4451 </script >
4552 <script src =" media/script/main.js" ></script >
4653 @if (get_by_key ($_REQUEST , ' r' , ' ' , ' is_numeric' ) )
You can’t perform that action at this time.
0 commit comments