Filtered by tag: zend_config_ini, show all
>>Friday, February 12, 2010<<
When I am working on Zend Framework projects I usually find that I am referencing .ini files a lot within my code, which usually means typing the following line many times:
<?php
$oConfig = new Zend_Config_Ini("../application/configs/config.ini");
?>
Although it is simple enough to remember, it does get tedious after a while and I always wondered what the execution time of the code was like calling the same config file multiple times on each load (i.e. in different classes).
Tags: scripts, val_config, zend_config_ini, zf