PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/neutrino atomic edition 08/ext/index.php

http://neutrino-cms.googlecode.com/
PHP | 10 lines | 10 code | 0 blank | 0 comment | 2 complexity | 1836275f47315e69691fcc6f98801886 MD5 | raw file
 1<?php
 2$ext_ini=parse_ini_file('data/ext.ini.php');
 3foreach($ext_ini as $name => $enabled){
 4	if($enabled==1&&is_file('ext/'.$name.'/index.php'))include 'ext/'.$name.'/index.php';
 5}unset($name,$enabled);
 6$init='_init';
 7foreach($ext_ini as $name => $enabled){
 8	$initfunc=$name.$init;
 9	if(function_exists($initfunc))$initfunc();
10}