2011-11-27, 12:35 AM
I was going into my templates to look at editing one because the Admin CP link was not displaying correctly, so I went to save my change, and then it told me there was a potential security issue. However, I changed it back, but it still told me there was a security issue.
The problem: the template was attempting to use the $config array. However, how else am I supposed to reference the admin cp directory? I checked the default theme to see how it referenced the ACP dir, but it also used the $config array.
How can I fix this - the template is back to how it started. I don't have a "good" backup.
Edit: I found the right page right after I posted...
Edit2: when I change it to {$admin_dir}, it takes me to http://gamervoid.com//index.php
Edit3: fixed it.
The problem: the template was attempting to use the $config array. However, how else am I supposed to reference the admin cp directory? I checked the default theme to see how it referenced the ACP dir, but it also used the $config array.
How can I fix this - the template is back to how it started. I don't have a "good" backup.
Edit: I found the right page right after I posted...
Edit2: when I change it to {$admin_dir}, it takes me to http://gamervoid.com//index.php
Edit3: fixed it.