<?php class SetsConfig { public function setsSystemPath() { return set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__)); } } $setting = new SetsConfig(); $setting->setsSystemPath(); ?>
info at phpclasses dot org