* @since Mnemo 1.0
* @package Mnemo
*/
-require MNEMO_BASE . '/list.php';
+require dirname(__FILE__) . '/list.php';
* See the enclosed file LICENSE for license information (ASL). If you
* did not receive this file, see http://www.horde.org/licenses/asl.php.
*/
-
-@define('MNEMO_BASE', dirname(__FILE__));
-require_once MNEMO_BASE . '/lib/Application.php';
+require_once dirname(__FILE__) . '/lib/Application.php';
Horde_Registry::appInit('mnemo');
+
/* Get the current action ID. */
$actionID = Horde_Util::getFormData('actionID');
return false;
}
-@define('MNEMO_BASE', dirname(__FILE__));
-require_once MNEMO_BASE . '/lib/Application.php';
+require_once dirname(__FILE__) . '/lib/Application.php';
Horde_Registry::appInit('mnemo');
/* Redirect to the notepad view if no action has been requested. */
* @since Mnemo 1.0
* @package Mnemo
*/
-
-@define('MNEMO_BASE', dirname(__FILE__));
-require_once MNEMO_BASE . '/lib/Application.php';
+require_once dirname(__FILE__) . '/lib/Application.php';
Horde_Registry::appInit('mnemo');
$title = _("Search");
* See the enclosed file LICENSE for license information (ASL). If you
* did not receive this file, see http://www.horde.org/licenses/asl.php.
*/
-
-@define('MNEMO_BASE', dirname(__FILE__));
-require_once MNEMO_BASE . '/lib/Application.php';
+require_once dirname(__FILE__) . '/lib/Application.php';
Horde_Registry::appInit('mnemo');
/* Check if a passphrase has been sent. */