| @@ -6,9 +6,9 @@ | ||
| 6 | 6 | // NOTE: NOT ALL CLASSED IS AUTOLOADED YET! ONLY FEW CLASSES |
| 7 | 7 | // IS AUTOLOADED. ONLY CLASSES WITH NAME MAPPED TO TE PHYSICAL PATH |
| 8 | 8 | // IS AUTOLOADED!! |
| 9 | 9 | require_once CJTOOLBOX_FRAMEWORK . '/autoload/loader.php'; |
| 10 | -$CJTAutoLoad = CJT_Framework_Autoload_Loader::autoLoad( 'CJT', CJTOOLBOX_PATH ); | |
| 10 | +$CJTAutoLoad = CJT_Framework_Autoload_Loader::autoLoad('CJT', CJTOOLBOX_PATH); | |
| 11 | 11 | |
| 12 | 12 | // Old class maps. |
| 13 | 13 | // Only commonly-used classed will be mapped here. |
| 14 | 14 | $map = $CJTAutoLoad->map(); |
| @@ -13,18 +13,9 @@ | ||
| 13 | 13 | // Only commonly-used classed will be mapped here. |
| 14 | 14 | $map = $CJTAutoLoad->map(); |
| 15 | 15 | |
| 16 | 16 | // xTable class |
| 17 | -$map->offsetSet( 'cssJSToolbox', 'css-js-toolbox.class.php' ); | |
| 18 | -$map->offsetSet( 'CJTxTable', 'framework/db/mysql/xtable.inc.php' ); | |
| 19 | -$map->offsetSet( 'CJTTable', 'framework/db/mysql/table.inc.php' ); | |
| 20 | -$map->offsetSet( 'CJTBlockPinsTable', 'tables/block-pins.php' ); | |
| 21 | -$map->offsetSet( 'CJTBlocksTable', 'tables/blocks.php' ); | |
| 22 | -$map->offsetSet( 'CJTBlockFilesTable', 'tables/block-files.php' ); | |
| 23 | -$map->offsetSet( 'CJTBlockModel', 'models/block.php' ); | |
| 24 | -$map->offsetSet( 'CJTBlocksModel', 'models/blocks.php' ); | |
| 25 | -$map->offsetSet( 'CJTAccessPoint', 'framework/access-points/access-point.class.php' ); | |
| 26 | -$map->offsetSet( 'CJTPageAccessPoint', 'framework/access-points/page.class.php' ); | |
| 27 | - | |
| 28 | - | |
| 29 | -# Composer Autoloads (All the above autoloads is deprecated and will be revmoed later) | |
| 30 | -require 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'; | |
| 17 | +$map->offsetSet('CJTxTable', 'framework/db/mysql/xtable.inc.php'); | |
| 18 | +$map->offsetSet('CJTTable', 'framework/db/mysql/table.inc.php'); | |
| 19 | +$map->offsetSet('CJTBlockPinsTable', 'tables/block-pins.php'); | |
| 20 | +$map->offsetSet('CJTBlockModel', 'models/block.php'); | |
| 21 | +$map->offsetSet('CJTBlocksModel', 'models/blocks.php'); | |