'/usr/local/bin/wkhtmltopdf -q --print-media-type --page-size Letter -O Portrait -T 0.4in -B 0.4in -L 0.4in -R 0.4in --header-left {pageHeader} --header-font-size 9 {params} --title {title} {url} {file}', 'pdfCommand' => call_user_func(function () { $cmd = trim(shell_exec('which wkhtmltopdf')); if ('' == $cmd) { $cmd = '/usr/local/bin/wkhtmltopdf'; // default value } $cmd .= ' -q' . ' --print-media-type' . ' --page-size Letter' . ' -O Portrait' . ' -T 0.4in' . ' -B 0.4in' . ' -L 0.4in' . ' -R 0.4in' . ' --header-left {pageHeader}' . ' --header-font-size 9' . ' --footer-center {pageFooter}' . ' --footer-font-size 9' . ' {params}' . ' --title {title} {url} {file}'; return $cmd; }), ); // Databaseeb $__config['database'] = array( 'adapter' => 'pdo_mssql', 'params' => array( 'adapterNamespace' => 'Qs_Db_Adapter', 'pdoType' => 'dblib', 'host' => '10.0.0.177', 'username' => 'onlyuser', 'password' => '123', 'dbname' => 'carleyfoundry', 'charset' => 'UTF8', 'profiler' => true, ), 'initCommands' => array('SET ANSI_NULLS ON; SET CONCAT_NULL_YIELDS_NULL ON; SET ANSI_WARNINGS ON'), 'tablePrefix' => 'cf_', 'servicePrefix' => 'zz_', ); $__config['debug']['writeLog'] = true; $__config['debug']['logBacktrace'] = true; $__config['debug']['notifyEmails'] = array('debug@lazar.dev.adaptainc.com'); $__config['app']['admin']['authAdapter'] = array('remoteAuthEnabled' => true); $__config['app']['cms']['mode'] = 'dummy'; $__config['app']['cms']['modes']['dummy']['hiddenFields'] = array(); $__config['app']['cms']['additionalPages'] = true; $__config['app']['navigation'] = array( 'enabled' => false, 'mode' => 'exclude', 'properties' => array('title' => 'menuTitle', 'url' => 'url'), 'excludeList' => array('home'), ); // Default scripts and stylesheets for all Doc's (Doc_Site, Doc_User, Doc_Admin etc) $__config['doc']['default'] = array( 'scripts' => array( 'js/functions.js', 'js/lib/php.js', 'js/lib/php-extended.js', 'js/lib/qs.js', 'js/jquery.js', 'js/superfish.js', 'js/supersubs.js', 'js/hoverIntent.js', 'js/textresize.js', 'js/jquery.cookie.js', 'js/cb.js' ), 'stylesheets' => array('css/typographic.css', 'css/main.css', 'css/site-layout.css', 'css/megadropdown.css', 'css/superfish.css', 'css/superfish-vertical.css'), ); // Individual scripts and stylesheets for Doc_Admin $__config['doc']['admin'] = array( 'scripts' => $__config['doc']['default']['scripts'], 'stylesheets' => array('css/typographic.css', 'css/main.css', 'css/admin-layout.css', 'css/superfish-admin.css'), ); return $__config;