When I install the plugins in the lastest SM I get this error:
Rewrite your code, we now use init.php
Is this somsething simple or can it be done? Otherwise I have hMailserver and SquirrelMail working on IIS with newest MySQL and PHP perfectly. Gets mail instantly and sends SMTP on localhost. I love it. Would be great to have access to Vacation plugin though.
SquirrelMail Plugins Need Updating
-
- Normal user
- Posts: 105
- Joined: 2005-07-01 00:54
- Location: USA
-
- Normal user
- Posts: 105
- Joined: 2005-07-01 00:54
- Location: USA
1.5.x Tree (current devel)
svn checkout http://squirrelmail.svn.sourceforge.net ... uirrelmail
I am really happy with hMail's feature set on the new versions. Everything else is working 100% right now. I just want people to not have to ask me to set their vacation messages
svn checkout http://squirrelmail.svn.sourceforge.net ... uirrelmail
I am really happy with hMail's feature set on the new versions. Everything else is working 100% right now. I just want people to not have to ask me to set their vacation messages

Reporter uses 1.5.2svn. There are layout changes in main scripts.
See sample code in demo plugin
See sample code in demo plugin
-
- Normal user
- Posts: 105
- Joined: 2005-07-01 00:54
- Location: USA
Find all scripts that have
and replace it with
In some places code can use "if (! defined('SM_PATH')) define('SM_PATH','../../');" instead of "define('SM_PATH', '../../');"
Code: Select all
define('SM_PATH', '../../');
include_once(SM_PATH . 'include/validate.php');
Code: Select all
if (file_exists('../../include/init.php')) {
/* sm 1.5.2+*/
include_once('../../include/init.php');
} else {
/* sm 1.4.0+ */
/** @ignore */
define('SM_PATH', '../../');
/* main init script */
include_once(SM_PATH . 'include/validate.php');
}