Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use IPS\Application;
|
||||
use IPS\Data\Store;
|
||||
use IPS\File;
|
||||
use IPS\Helpers\Form\Editor;
|
||||
use IPS\Output;
|
||||
@@ -17,11 +18,11 @@ if( !\IPS\IN_DEV )
|
||||
/* Call the hasPlugins method first so that we can be sure the JS is generated */
|
||||
if( Editor::hasPlugins() )
|
||||
{
|
||||
if( Settings::i()->editor_plugin_js )
|
||||
if( Store::i()->editorPluginJs )
|
||||
{
|
||||
try
|
||||
{
|
||||
$pluginJs = File::get( 'core_Theme', Settings::i()->editor_plugin_js )->contents();
|
||||
$pluginJs = File::get( 'core_Theme', Store::i()->editorPluginJs )->contents();
|
||||
|
||||
} catch ( Exception ) {}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user