Code |
Context$type = "core"
$path = array(
"libs" => array(
"/var/www/vhosts/cake1/cake/libs/"
),
"model" => array(
"/var/www/vhosts/cake1/cake/libs/model/"
),
"behavior" => array(
"/var/www/vhosts/cake1/cake/libs/model/behaviors/"
),
"controller" => array(
"/var/www/vhosts/cake1/cake/libs/controller/"
),
"component" => array(
"/var/www/vhosts/cake1/cake/libs/controller/components/"
),
"view" => array(
"/var/www/vhosts/cake1/cake/libs/view/"
),
"helper" => array(
"/var/www/vhosts/cake1/cake/libs/view/helpers/"
),
"cake" => array(
"/var/www/vhosts/cake1/cake/"
),
"vendor" => array(
"/var/www/vhosts/cake1/vendors/"
),
"shell" => array(
"/var/www/vhosts/cake1/cake/console/libs/"
)
)
$paths = array()
$value = array(
"/var/www/vhosts/cake1/cake/libs/"
)
$key = "libs"
foreach ($path as $key => $value) {
$count = count($key);
App::__paths() - CORE/cake/libs/configure.php, line 1122
App::import() - CORE/cake/libs/configure.php, line 846
App::import() - CORE/cake/libs/configure.php, line 808
require - CORE/cake/dispatcher.php, line 30
include - CORE/cake/bootstrap.php, line 53
[main] - APP/webroot/index.php, line 88