@@ 38-45 (lines=8) @@ | ||
35 | } |
|
36 | } |
|
37 | ||
38 | if(version_compare(PHP_VERSION, '5.3.0', '>=')) |
|
39 | { |
|
40 | spl_autoload_register('FlipsideAutoload', true, true); |
|
41 | } |
|
42 | else |
|
43 | { |
|
44 | spl_autoload_register('FlipsideAutoload'); |
|
45 | } |
|
46 | /* vim: set tabstop=4 shiftwidth=4 expandtab: */ |
|
47 | ?> |
|
48 |
@@ 51-58 (lines=8) @@ | ||
48 | else |
|
49 | { |
|
50 | require __DIR__.'/../libs/mongofill/src/functions.php'; |
|
51 | if(version_compare(PHP_VERSION, '5.3.0', '>=')) |
|
52 | { |
|
53 | spl_autoload_register('\Data\MongofillAutoload', true, true); |
|
54 | } |
|
55 | else |
|
56 | { |
|
57 | spl_autoload_register('\Data\MongofillAutoload'); |
|
58 | } |
|
59 | $this->setupMongoClient($params); |
|
60 | } |
|
61 | } |