tensh |
|
---|---|
Hi; I'm converting calendar plugin to siena... and it still throws me "wrong url" error when I want to either view plugin or go to settings., I have no idea why. (even if the plugin consists of only standalone hook with echo inside) here's the setup file... what am I doing wrong? I have no idea. it's the first time it happens to me. EDIT: Okay, I just fixed it by taking a siena plugin and editing it.... it's strange. EDIT 2 : it was because in the old lang file was placed the check for COT_CODE ;/ <?php /* ==================== [BEGIN_COT_EXT] Code=calendar Name=Calendar Category= Description=Description Version=2.7.0 Date=2011-05-24 Author=Cotonti Team Copyright=© 2008-2012 Cotonti Team Notes= SQL= Auth_guests=R Lock_guests=A Auth_members=R Lock_members=A Requires_modules= [END_COT_EXT] [BEGIN_COT_EXT_CONFIG] cat=01:string::events:Pagecat upcomingevent=03:select:0,1,2,3,4,5,6,7:3:Upcoming events days [END_COT_EXT_CONFIG] ==================== */ /** * Calendar Plugin for Cotonti CMF * * @package calendar * @version 2.1 * @author Cotonti Team * @copyright (c) 2008-2012 Cotonti Team * @license BSD */ defined('COT_CODE') or die('Wrong URL'); ?>
|
|
This post was edited by tensh (2012-09-09 15:33, 12 years ago) |