Changeset 1367


Ignore:
Timestamp:
02/05/18 00:32:52 (3 months ago)
Author:
gogo
Message:

Fix loading warning for a not-found or forbidden plugin. Remove the die's I just added to EFM and IM, they would be "hard to discover" because first you would get the .htaccess denial warning, you'd fix that, but it still wouldn't work.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r1363 r1367  
    38173817    }; 
    38183818  } 
    3819   var obj = new plugin(this, args); 
    3820   if ( obj ) 
     3819  var obj; 
     3820  if ( (typeof plugin == 'function') && (obj = new plugin(this, args)) ) 
    38213821  { 
    38223822    var clone = {}; 
     
    39243924        Xinha._pluginLoadStatus[pluginName] = 'failed'; 
    39253925        Xinha.debugMsg('Xinha was not able to find the plugin '+pluginName+'. Please make sure the plugin exists.', 'warn'); 
     3926        Xinha.debugMsg('If '+pluginName+' is located in unsupported_plugins you should also check unsupported_plugins/.htaccess for possible access restrictions.', 'warn'); 
     3927         
    39263928        return; 
    39273929    } 
  • trunk/unsupported_plugins/ExtendedFileManager/config.inc.php

    r1366 r1367  
    11<?php 
    2  
    3   die('Developer, this plugin ExtendedFileManager has been deprecated.  You are STRONGLY advised to use MootoolsFileManager plugin instead.  If you really must continue using this plugin, please edit xinha/unsupported_plugins/ExtendedFileManager/config.php to remove this notice.'); 
    42 
    53/** 
  • trunk/unsupported_plugins/ImageManager/config.inc.php

    r1366 r1367  
    11<?php 
    2  
    3   die('Developer, this plugin ImageManager has been deprecated.  You are STRONGLY advised to use MootoolsFileManager plugin instead.  If you really must continue using this plugin, please edit xinha/unsupported_plugins/ImageManager/config.php to remove this notice.'); 
    42 
    53/** 
Note: See TracChangeset for help on using the changeset viewer.