public function generateSymlinks()
	{
		$container = System::getContainer();

		$command = $container->get('contao.command.symlinks');
		$status = $command->run(new ArgvInput(array()), new NullOutput());

		// Add a log entry
		if ($status > 0)
		{
			$this->log('The symlinks could not be regenerated', __METHOD__, TL_ERROR);
		}
		else
		{
			$this->log('Regenerated the symlinks', __METHOD__, TL_CRON);
		}
	}
public function generateSymlinks()
	{
		$container = System::getContainer();

		$command = $container->get('contao.command.symlinks');
		$status = $command->run(new ArgvInput(array()), new NullOutput());

		
		if ($status > 0)
		{
			$this->log('The symlinks could not be regenerated', __METHOD__, TL_ERROR);
		}
		else
		{
			$this->log('Regenerated the symlinks', __METHOD__, TL_CRON);
		}
	}
public function generateSymlinks ( ) { $ container = System :: getContainer ( ) ; $ command = $ container -> get ( 'contao.command.symlinks' ) ; $ status = $ command -> run ( new ArgvInput ( array ( ) ) , new NullOutput ( ) ) ; // Add a log entry if ( $ status > 0 ) { $ this -> log ( 'The symlinks could not be regenerated' , __METHOD__ , TL_ERROR ) ; } else { $ this -> log ( 'Regenerated the symlinks' , __METHOD__ , TL_CRON ) ; } }
Generate the symlinks in the web/ folder
Generate the symlinks in the web / folder