Letractively / webloginpe

Automatically exported from code.google.com/p/webloginpe
0 stars 0 forks source link

Relative path where include script #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In several place of webloginpe.class.php use
require_once 'manager/includes/controls/class.phpmailer.php';
A think, that it will be more correctly to use this:
require_once MODX_BASE_PATH . 'manager/includes/controls/class.phpmailer.php';

e.g. I wrote a module for modx, and try to use webLoginPE in it. Besause 
webLoginPE use relative path in include libs, i have fail :)

Sorry for my English.

Original issue reported on code.google.com by daeda...@gmail.com on 13 Oct 2010 at 2:36