Why not;
$myBoolean=(boolean) something;
2014-03-18 9:29 GMT-03:00 Kamal Deol :
> YES It is Thread Safe : 100% Sure
>
>
> On Tue, Mar 18, 2014 at 6:33 AM, Gary Kremmer wrote:
>
>> class SomeController extends AppController {
>>
>> public function index() {
>> if(something) {
>>$
Can you try this code?
$(document).ready(function() {
$('a.report').click(function(e) {
e.preventDefault();
var t = $(this);
var dialog = $('').load(t.attr('href')).dialog({
autoOpen: false,
width: 500,
modal: true,
title: 'Report Photo',
});
});
});
and the link:
201
Hi, i am using the requestAction feacture to generate the cache of heavy
traffic pages, the only problem is that the base param of the urls is
/usr/share/php/cake/console/ instead of /, is there any way of solve this?
now i am usign a str_replace to change de links but i want a better way to
solve
mcurry/html_cache
>
> On Sep 7, 4:42 pm, Eugenio wrote:
> > Hi to everyone, i have a nginx question... the app is written in cakephp,
> > maybe you could help me.
> >
> > Right now im working on a heavy app written in php.
> >
> > The app knows what pages to ca
Hi to everyone, i have a nginx question... the app is written in cakephp,
maybe you could help me.
Right now im working on a heavy app written in php.
The app knows what pages to cache a cron job delete the old cache pages, the
cache is saved doing a md5 to the url to get a hash, then puts a / ev
Try with the html cache plugin;
http://bakery.cakephp.org/articles/mattc/2009/03/20/html-cache-helper
It will really speed it up, just be careful and remember to clean cache
after updates.
2011/7/27 leafchild
> I notice loading page is extremely slow.
>
> Those pages are not connected to DB. Ju
If you have that kind of need you are having database architecture
issues... its not a cakephp issue.
Ask yourself how you do that query in plain SQL.
Cheers
2011/3/31 heohni :
> Hi,
>
> I have the following models:
>
> Member hasMany Payments
> Payment belongs to a member
>
> To get now all mem
Hi Okto, have you try using the view cache helper = its really great,
or perhaps you could use the plain html cache plugin, that really will
speed up, of course it have some cons...
http://bakery.cakephp.org/articles/mattc/2009/03/20/html-cache-helper
http://book.cakephp.org/view/348/Clearing-the