File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 128128 define ('EVO_CLI ' , false );
129129}
130130
131+ /**
132+ * @deprecated
133+ * @since 3.5.3
134+ *
135+ * Use $evo or/and evo() instead.
136+ *
137+ * @todo [remove@5.x] Remove in Evolution CMS 5.x
138+ */
139+ $ GLOBALS ['modx ' ] = $ modx = evo ();
131140// Initiate a new document parser
132- $ GLOBALS ['evo ' ] = $ GLOBALS [ ' modx ' ] = $ evo = $ modx = evo ();
141+ $ GLOBALS ['evo ' ] = $ evo = evo ();
133142$ evo ->minParserPasses = 1 ; // min number of parser recursive loops or passes
134143$ evo ->maxParserPasses = 10 ; // max number of parser recursive loops or passes
135144$ evo ->dumpSQL = false ;
Original file line number Diff line number Diff line change 132132 ) . "/ " ;
133133}
134134
135- // initiate the content manager class
136- $ evo = evo ();
135+ /**
136+ * @deprecated
137+ * @since 3.5.3
138+ *
139+ * Use $evo or/and evo() instead.
140+ *
141+ * @todo [remove@5.x] Remove in Evolution CMS 5.x
142+ */
143+ $ GLOBALS ['modx ' ] = $ modx = evo ();
144+ // Initiate a new document parser
145+ $ GLOBALS ['evo ' ] = $ evo = evo ();
137146$ evo ->mstart = $ mstart ;
138147$ useLaravelSession = defined ('EVO_SESSION ' ) && EVO_SESSION ;
139148if ($ useLaravelSession ) {
You can’t perform that action at this time.
0 commit comments