Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 13 matches
Smarty Forum Index
Author Message
  Topic: php72 compat: Countable
oschonrock

Replies: 2
Views: 20347

PostForum: Bugs   Posted: Fri Jan 19, 2018 1:28 am   Subject: php72 compat: Countable
Firstly a huge thank you. Both for smarty in general and for bothering to maintain even smarty 2 to be php72 compat. This saved me huge amounts of time when making some legacy smarty 2 code compat wit ...
  Topic: fetch() auf Windows
oschonrock

Replies: 11
Views: 17297

PostForum: Language: German   Posted: Tue Sep 17, 2013 8:07 am   Subject: fetch() auf Windows
I benutze den Fix mit dem, jetzt open source, Zend Opcache:

http://pecl.php.net/package/ZendOpcache

ab php5.5 ist der mit im php tarball drin.

Es ist das gleiche wie das "closed source&q ...
  Topic: fetch() auf Windows
oschonrock

Replies: 11
Views: 17297

PostForum: Language: German   Posted: Mon Sep 16, 2013 11:56 am   Subject: fetch() auf Windows
vielleicht habe ich dem opcache ein Unrecht getan. Habe einen kleinen Test geschrieben, der meine obige Hypothese _nicht_ bestätigt:


<?php

$filename = '/tmp/code.php';

function precise_d ...
  Topic: fetch() auf Windows
oschonrock

Replies: 11
Views: 17297

PostForum: Language: German   Posted: Mon Sep 16, 2013 10:48 am   Subject: fetch() auf Windows
soweit ich sehe ist das Problem hier:


smarty_internal_templatebase.php

if (!$_template->compiled->loaded) {
include($_templa ...
  Topic: fetch() auf Windows
oschonrock

Replies: 11
Views: 17297

PostForum: Language: German   Posted: Mon Sep 16, 2013 9:06 am   Subject: gleiches Problem
übrigens ist das Alles auf FreeBSD mit php 5.4.14 &&
smarty 3.1.14
  Topic: fetch() auf Windows
oschonrock

Replies: 11
Views: 17297

PostForum: Language: German   Posted: Mon Sep 16, 2013 9:04 am   Subject: geliches Problem
Seitdem ich von APC auf OPCACHE (also das neue open source Zend Accelerator) umgestellt habe, habe ich das gleiche Problem.

Sehr nervig, weil man oft Refresh drückt und sich dann denkt, warum geht ...
  Topic: Absolute path doesn't work
oschonrock

Replies: 5
Views: 10563

PostForum: Bugs   Posted: Mon Oct 03, 2011 2:57 pm   Subject: using ../subdir/template.tpl from fetch
smarty->fetch('../subdir/template.tpl from fetch');

we use this a lot to mean:

"find a template relative to the current template_dir..but 'up and across' into a another subdir"

u ...
  Topic: Smarty 3.0: initial discussion
oschonrock

Replies: 172
Views: 528676

PostForum: Smarty Development   Posted: Sat Sep 30, 2006 1:45 pm   Subject: so when do we actually do something
18months of thread. Lots of ideas, good ones and bad ones. Most seem to agree that 3.x should make the best use of php5's features (i agree with that 100%), there are a couple of other likely candidat ...
  Topic: how to eval smarty template code in php varible ?
oschonrock

Replies: 13
Views: 22215

PostForum: General   Posted: Sun Jun 13, 2004 1:28 pm   Subject: how to eval smarty template code in php varible ?
Hi boots

I am working with fabien on the same project:

$title does exsits in php namespace, but it contains a smarty template (ie {if.....} {$somesmartyvar} {/if}...etc)

you are right that we ...
  Topic: Question about performance
oschonrock

Replies: 8
Views: 13068

PostForum: General   Posted: Sun Nov 16, 2003 10:00 am   Subject: Question about performance
Hi Messju

Thanks for quick reply.

Yeah, after thinking about that Shocked, and looking at the code some more i have to admit the full read of the cached file is unvoidable.

Guess we will have ...
  Topic: Question about performance
oschonrock

Replies: 8
Views: 13068

PostForum: General   Posted: Sun Nov 16, 2003 8:36 am   Subject: Question about performance
Hi boots

We are using is_cached extensively to prevent application logic / db queries running. This does indeed have a very significant benefit.

However, because we have broken up our pages into ...
  Topic: Accessing {$object->array["variable"]}
oschonrock

Replies: 7
Views: 19930

PostForum: General   Posted: Fri Aug 08, 2003 9:08 pm   Subject: Accessing {$object->array["variable"]}
ok, thanks for quick reply, at least we know now.
  Topic: Accessing {$object->array["variable"]}
oschonrock

Replies: 7
Views: 19930

PostForum: General   Posted: Fri Aug 08, 2003 8:02 pm   Subject: Accessing {$object->array["variable"]}
and what about the reverse case? I mean using an object property as an array index.


{if $expanded_property_id[$property->id] eq 1}


I can make it work with an interme ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP