Rémi Gaillard
f5cc6862cb
// don't die on autoload
2013-11-04 18:08:24 +01:00
Jerome Nadaud
671062af07
// Add Disable overrides to debug mode
2013-10-31 18:41:56 +01:00
Rémi Gaillard
5363e75238
// small fix
2013-09-13 12:13:12 +02:00
Rémi Gaillard
30591b7c28
// Typo
2013-09-12 15:04:47 +02:00
Rémi Gaillard
f9b1f0ab5e
[*] Core: don't re-generate the class_index.php file if a class is not known to avoid misuse of class_exists()
2013-09-12 15:03:23 +02:00
Rémi Gaillard
3e750490fe
// chmod class_index 666 instead of 664
2013-09-11 15:16:15 +02:00
ha99y
75303e82e0
Suppress Error at rename
...
If debugging is one (_PS_MODE_DEV_ set to TRUE)
there is a warning on line 142 in /classes/Autoload.php at function
rename()
2013-08-28 18:56:49 -07:00
gRoussac
7448d17c68
[*] CORE: can not delete class_index.php
2013-06-23 19:53:28 +02:00
Sébastien Bocahu
fd88ac76be
[-] Fixes a race condition
...
Fixes a race condition leading to file coruption and PHP crashes when
writing the cache index file.
Handles concurrency properly by using a temporary file and an atomic
rename() instead of file_put_contents(), which is not atomic, on a
file which is potentially accessed by many processes at the same time
2013-04-26 14:28:01 +02:00
Damien Metzger
44a0afa34b
// Added lock to class_index generation
2013-03-14 11:00:23 +01:00
Damien Metzger
8cab8685cd
// PrestaShopException is not available in Autoload
2013-03-07 11:35:40 +01:00
François Gaillard
064ba453e6
// Welcome 2013
2013-01-04 11:19:03 +01:00
Damien Metzger
c3c29e3abd
[-] Core : cannot throw an exception in the autoload #PSCFV-6018
2012-12-14 14:28:33 +01:00
vAugagneur
a1db83ef41
//remove svn keyword @version Release: $
2012-11-22 11:57:40 +01:00
lLefevre
779cf350af
// Revert Revision 17884 : #PSCFV-5017 : update bad licenses in all files
2012-10-17 09:29:43 +00:00
lLefevre
046b51ab99
// #PSCFV-5017 : update bad licenses in all files
2012-10-17 06:18:59 +00:00
dMetzger
17988ab511
// Opti
2012-08-31 12:16:15 +00:00
aKorczak
8bead1af23
[-] WS : Multiple fix on Web Services
2012-08-31 09:41:22 +00:00
François Gaillard
0094fc3beb
[-] Classes : Autoload, bug fix
2012-08-29 16:27:16 +00:00
dMetzger
d54d31463c
// Opti
2012-08-29 14:22:23 +00:00
aFolletete
ebe3addddd
// little optimization in autoloader, we exclude smarty classes of treatement
2012-05-21 15:18:59 +00:00
rMalie
9faeff1faa
[+] MO: modules can now have override classes installed automatically #PSCFV-2036 (thank to phrasespot)
2012-05-11 12:41:30 +00:00
rMalie
a2f5ff05e8
// Fix autoload
2012-03-09 10:30:17 +00:00
rMalie
b63c91c992
// Fix write permissions verification on class_index #PSFV-598
2012-03-06 14:02:48 +00:00
rMalie
14e6929565
// Welcome 2012²
2012-02-23 16:33:10 +00:00
rMalie
4f7b3d4550
[*] classes : new module architecture
2012-01-31 16:57:19 +00:00
rMalie
f87f846853
// Fix Exception in autoload
2012-01-26 13:15:42 +00:00
rMalie
f61b1fc877
// Fix potential issue on autoload if class_index is corrupted
2012-01-26 12:49:22 +00:00
rMalie
ccbf3acc8d
// Normalize
2012-01-25 14:40:12 +00:00
rMalie
d6201e893b
// Autoload class_index is now sorted
2012-01-13 13:57:16 +00:00
bMancone
d3d094a296
// Fixed pre-commit test..
2012-01-11 18:08:49 +00:00
rMalie
baf4a68f1a
// Test svn pre-commit
2012-01-11 17:29:08 +00:00
rMalie
78662a518a
// Fix autoload for classes with several implements
2011-12-02 14:34:48 +00:00
rMalie
473f26bd13
[+] Classes: Add PHP exceptions support + handler
2011-09-27 12:10:47 +00:00
rMalie
ac9df4afdb
// Fix controllers file names + add missing files in override/ + ControllerFactory class is now deprecated, use Controller instead + fix NoticationCore
2011-09-16 10:09:26 +00:00
fBrignoli
2e59d72884
// Norm
2011-09-14 15:33:14 +00:00
fBrignoli
9c71a3567f
// debug
2011-09-13 13:59:44 +00:00
rMalie
5f7c2386bd
// Normalization
2011-09-12 15:49:01 +00:00
fBrignoli
8f8ac0670d
[*] Project : US + CA TaxSystem
2011-08-18 10:10:50 +00:00
fBrignoli
4fcf65d1ce
// Exception removed
2011-08-16 15:53:04 +00:00
fBrignoli
98e766cabe
// debug
2011-08-09 15:24:40 +00:00
fBrignoli
914dd56f4f
[-] Project : index file is now regenerated when a class is removed from the override directory
2011-08-09 15:24:03 +00:00
fBrignoli
d3c2a56f21
// replace !is_core by substr($classname, -4) != 'Core'
2011-08-08 15:52:23 +00:00
rMalie
884a2f4a9e
// Add some comments in new autoload class
2011-08-08 14:24:32 +00:00
fBrignoli
e9f3a9e509
// debug
2011-08-08 14:08:08 +00:00
fBrignoli
e047fd2068
[-] Project : Autoload now handle weird syntax (eg. class Product{)
2011-08-08 14:07:38 +00:00
fBrignoli
022c955ccb
[*] Project : Autoload is now able to load classes from /classes or /override subdirectories
2011-08-08 13:34:01 +00:00