Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Smarty v3.1.7 / v3.1.8 and Ioncube

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
matthiasb
Smarty n00b


Joined: 27 Dec 2011
Posts: 4

PostPosted: Mon Feb 27, 2012 8:30 am    Post subject: Smarty v3.1.7 / v3.1.8 and Ioncube Reply with quote

Hi Smarty community Wink

I need your help!
I currenty set up an environment with smarty and I also use Ioncube to encode my php code.

I found this website from Ioncube itself where it is stated how to use Smarty v2.x with the Ioncube Software.
As the method _read_file() does not exist anymore I have a problem Wink

I already found this comment about a description how it can work.
But as my project is already nearly finished I don't want to change every $smarty->display() to $smarty->display(ioncube:).

Can you please help me here what I need to change to get this to work?
Thank you very much!

Best regards,
Matthias
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7366
Location: Lincoln Nebraska, USA

PostPosted: Mon Feb 27, 2012 2:36 pm    Post subject: Reply with quote

In Smarty 3, this is the source code that reads a template from the file system.

http://smarty-php.googlecode.com/svn/trunk/distribution/libs/sysplugins/smarty_internal_resource_file.php
Back to top
View user's profile Send private message Visit poster's website
rodneyrehm
Administrator


Joined: 30 Mar 2007
Posts: 674
Location: Germany, border to Switzerland

PostPosted: Mon Feb 27, 2012 8:43 pm    Post subject: Reply with quote

Maybe you should provide the links you mentioned so we can have a look at what they did to solve the problem (you haven't even described).
_________________
Twitter
Back to top
View user's profile Send private message Visit poster's website
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7366
Location: Lincoln Nebraska, USA

PostPosted: Mon Feb 27, 2012 8:47 pm    Post subject: Reply with quote

A search for IonCube revealed this:

http://www.smarty.net/forums/viewtopic.php?t=20562
Back to top
View user's profile Send private message Visit poster's website
matthiasb
Smarty n00b


Joined: 27 Dec 2011
Posts: 4

PostPosted: Tue Feb 28, 2012 9:34 pm    Post subject: Reply with quote

Hi mohrt,

thank you very much for the link to the thread.
Sorry, I found everything but not that thread Wink

Sorry for wasting your time and thank you very much for your help!

Best regards,
Matthias
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3 All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP