|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jr1979 Smarty n00b
Joined: 05 Mar 2017 Posts: 1
|
Posted: Sun Mar 05, 2017 8:54 pm Post subject: init.php error please help |
|
|
i get this error
Notice: Undefined index: http://www.mywepbage.com in /home/u879550297/public_html/init.php on line 25
from this
define('CUR_DIR', realpath(dirname(__FILE__)));
define('MODS_DIR', CUR_DIR . '/mods/');
define('ADMIN_DIR', CUR_DIR . '/admin/');
$tpl = new Smarty();
$tpl->template_dir = CUR_DIR . '/static/smarty/templates/';
$tpl->compile_dir = CUR_DIR . '/static/smarty/templates_c/';
$tpl->config_dir = CUR_DIR . '/static/smarty/configs/';
$tpl->cache_dir = CUR_DIR . '/static/smarty/cache/';
$tpl->assign('SITE_URL', $cfg['http://www.mywebsite.com']);
$user = 0;
?>
What has to be done please help. ""i'm new"" |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sun Mar 05, 2017 9:48 pm Post subject: |
|
|
Not a Smarty issue. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|