# |
Jul 1st 2019, 11:52 |
vossen.steven |
https://book.cakephp.org/3.0/en/plugins.html#plugin-objects |
# |
Jul 1st 2019, 11:51 |
ndm |
@vossen.steven No sure what exactly you mean? |
# |
Jul 1st 2019, 11:47 |
conehead |
Hm? https://book.cakephp.org/1.1/en/ |
# |
Jul 1st 2019, 11:47 |
vossen.steven |
@ndm I assume thats the point of the plugin.php file then? |
# |
Jul 1st 2019, 11:42 |
ich |
cu |
# |
Jul 1st 2019, 11:42 |
ich |
thank you all |
# |
Jul 1st 2019, 11:42 |
ich |
yeh i know :) |
# |
Jul 1st 2019, 11:42 |
hmic |
°-) |
# |
Jul 1st 2019, 11:41 |
ich |
…5850 |
# |
Jul 1st 2019, 11:41 |
ich |
1.1.18 |
# |
Jul 1st 2019, 11:41 |
hmic |
what does the VERSION.txt read? |
# |
Jul 1st 2019, 11:41 |
ich |
1.1 |
# |
Jul 1st 2019, 11:40 |
ich |
we take more attention to all files :P |
# |
Jul 1st 2019, 11:40 |
hmic |
so, which version is it really? |
# |
Jul 1st 2019, 11:40 |
ich |
Yes thanks |
# |
Jul 1st 2019, 11:40 |
hmic |
and 2007 is not 7 years from now ;-P |
# |
Jul 1st 2019, 11:39 |
hmic |
there is a VERSION.txt file |
# |
Jul 1st 2019, 11:39 |
ich |
but still the copyright says 2005-2007 |
# |
Jul 1st 2019, 11:38 |
ich |
ahh yes |
# |
Jul 1st 2019, 11:38 |
hmic |
the version |
# |
Jul 1st 2019, 11:37 |
hmic |
with regards to what ndm just said |
# |
Jul 1st 2019, 11:37 |
ich |
what information? |
# |
Jul 1st 2019, 11:37 |
hmic |
ich: explain how you get that information |
# |
Jul 1st 2019, 11:37 |
ich |
our system is about 7 years old and we look to upgrade it |
# |
Jul 1st 2019, 11:37 |
hmic |
yep |
# |
Jul 1st 2019, 11:37 |
ich |
no seriously 0.2.9 |
# |
Jul 1st 2019, 11:36 |
ndm |
@hmic People keep confusing the `@since` tag with the actual version number... |
# |
Jul 1st 2019, 11:33 |
ndm |
@vossen.steven Both are set to true by default, that's by design. Old style plugins (those without a `Plugin` class) are ment to have all hooks disabled according to the docs, but it looks like this isn't true. |
# |
Jul 1st 2019, 11:31 |
hmic |
? |
# |
Jul 1st 2019, 11:31 |
hmic |
or 2.9.0_ |
# |
Jul 1st 2019, 11:31 |
hmic |
ich: seriously, 0.2.9? |
# |
Jul 1st 2019, 11:24 |
ich |
Hello, any have Dokus from CakePHP 0.2.9 ? My exDelevoper has made our system out of an old version of cakePHP and we are not able to find any documentation on, even if we need it. We will get a new System but now we need to make hotfixes asap in order to security flaws in our system |
# |
Jul 1st 2019, 11:12 |
vossen.steven |
I've also noticed that if I use `$this->addPlugin` and dont set bootstrap or routes to true that still get loaded? If I debug `$this->getPlugins()` I see everything is set to true, is this a bug or a feature? :) |
# |
Jul 1st 2019, 11:04 |
ndm |
np :slightly_smiling_face: |
# |
Jul 1st 2019, 11:02 |
vossen.steven |
ty :) |
# |
Jul 1st 2019, 11:02 |
vossen.steven |
ok nvm im potato |
# |
Jul 1st 2019, 10:59 |
vossen.steven |
but that has to happen before `Cache::setConfig(Configure::consume('Cache'));` is called |
# |
Jul 1st 2019, 10:58 |
ndm |
yep... though you can do that at anytime |
# |
Jul 1st 2019, 10:57 |
vossen.steven |
I assume in the bootstrap of my plugin? |
# |
Jul 1st 2019, 10:55 |
ndm |
https://book.cakephp.org/3.0/en/core-libraries/caching.html#configuring-cache-engines |
# |
Jul 1st 2019, 10:55 |
ndm |
@vossen.steven You can configure the cache directly, like `\Cake\Cache\Cache::config('test', ['className' => 'Cake\Cache\Engine\FileEngine', /* .. */])` |