|
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 |
ckrudelux Smarty n00b
Joined: 05 Dec 2013 Posts: 2
|
Posted: Thu Dec 05, 2013 9:22 am Post subject: I wasn't sure if I should call this a bug. |
|
|
I found that in the SmartyBC.class.php it requires Smarty.class.php I think this should be require_once. In case you already included Smarty.class.php.
But I have the feeling I don't need the SmartyBC.class.php file anyway.
I got this error from my install manager class which checks for classes it can install in my lib directory. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat Dec 07, 2013 11:27 am Post subject: |
|
|
SmartyBC is only for users upgrading from Smarty2 if they do want to continue to use the Smarty2 API. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Sun Dec 08, 2013 8:16 pm Post subject: |
|
|
Ideally you would include either SmartyBC.class.php or Smarty.class.php, not both. |
|
Back to top |
|
ckrudelux Smarty n00b
Joined: 05 Dec 2013 Posts: 2
|
Posted: Tue Jan 07, 2014 1:38 pm Post subject: |
|
|
I do understand you aren't suppose to load them both but I have a class that is looking for specific classes, which loads both of them in the search. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Wed Jan 08, 2014 9:18 pm Post subject: |
|
|
Seems that you are unusual way to load your classes.
Anyway the fix is now in the SVN trunk and will later be included in 3.1.17 |
|
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
|