/** * ファイルから設定を読み込み、 * 定数としてのエクスポートまでを行うstaticメソッド * * @static * @access public * @return boolean */ function loadConstantsFromFile($filename) { $config = new Teeple_GlobalConfig(true); if (!$config->loadFromFile($filename)) { return false; } $config->exportConstants(); }