-
☆ A M B ☆
- 1,056 Posts
Quote from: ejcross at Apr 17, 2007, 10:03 AM
Your file update works with this added at the bottom, plus the rest of the config file:
$base_url = ’/’;
$site_url = ’http://www.unionky911.org/’;
$base_path = ’/data/12/1/136/35/1136687/user/1207121/htdocs/’;
if (!defined(’MODX_BASE_PATH’)) define(’MODX_BASE_PATH’, $base_path);
if (!defined(’MODX_BASE_URL’)) define(’MODX_BASE_URL’, $base_url);
if (!defined(’MODX_SITE_URL’)) define(’MODX_SITE_URL’, $site_url);
Unless I was mistaken, I thought Jason’s suggested code was an
alternative to hard-coding the values (above)... Does it work when commenting out the hard-coded variables (base_url,site_url, and base_path) from the earlier solution, ej?
Nope, that is why I got the error.... I had commented out the old autoconfig values and my hard coded ones, and inserted his code.
Not sure if I missed something there or not.....