With Joomla Global Settings in Development mode I got the following error:
Code: |
Parse error: syntax error, unexpected 'die' (T_EXIT) in /home/kelleypb2006/public_html/dev/administrator/components/com_simplemembership/toolbar_ext.php on line 1
|
I change the code from:
Code: |
<?php
if (!defined('_VALID_MOS') && !defined('_JEXEC')) die('Direct Access to ' . basename(__FILE__) . ' is not
|
To:
Code: |
<?php if
(!defined('_VALID_MOS') && !defined('_JEXEC')) die('Direct Access to ' . basename(__FILE__) . ' is not a
|
Now it works. Do you know why the first version of the code worked on my local server but not the remote server?