I am trying to transfer a Joomla 1.5 site to 3x series

Its having

```
// Set the table directory
JTable::addIncludePath(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_newtoy'.DS.'tables');
$controllerName = JRequest::getCmd( 'c', 'category' );

$task = JRequest::getCmd('task');
require_once( JPATH_COMPONENT.DS.'controllers'.DS.$controllerName.'.php' );
$controllerName = 'NewtoyController'.$controllerName;

```

In administration view - its creating below notice and error

> 
> ( ! ) Notice: Use of undefined constant DS - assumed 'DS' in Warning:
>  require\_once(): failed to open stream
> 
> 
> 

---

> 
> Fatal error: require\_once(): Failed opening required ''
> 
> 
> 

How to get this fixed for Joomla 3.6 series?