protected function initPlugins($plugins = '') {
		if (is_dir(dirname(__FILE__).'/TwigPlugins')) {
			$this->loadPluginsFromDirectory(dirname(__FILE__).'/TwigPlugins');
		}
		
		if (isset($plugins)) {
			if (is_array($plugins)) {
				foreach ($plugins as $path) {
					$this->loadPluginsFromDirectory($path);
				}
			} elseif ($plugins != '') {
				$this->loadPluginsFromDirectory($plugins);
			}
		}
	}