100+ results results for 'php configuration repo:jcsmorais/symfony' (487 ms)
1<?php 2$translations = array( 81 'No extension' => 'Extension introuvable', 82 'None of the supported PHP extensions (%s) are available.' => 'Aucune des extensions PHP supportées (%s) n\'est disponible.', 83 'Session support must be enabled.' => 'Veuillez activer les sessions.', 140 'Revoke' => 'Revoke', 141 '%s version: %s through PHP extension %s' => 'Version de %s : %s via l\'extension PHP %s', 142 'Logged as: %s' => 'Authentifié en tant que : %s', 142 'Logged as: %s' => 'Authentifié en tant que : %s', 143 'Too big POST data. Reduce the data or increase the %s configuration directive.' => 'Données POST trop grandes. Réduisez la taille des données ou augmentez la valeur de %s dans la configuration de PHP.', 144 'Move up' => 'Déplacer vers le haut',carousel.php https://gitlab.com/ptisky/API_prestashop | PHP | 434 lines
1<?php 2/** 269 270 $default_lang = (int)Configuration::get('PS_LANG_DEFAULT'); 271 316 $products = $this->getProducts('WHERE p.id_product > 0', (int)Context::getContext()->language->id, 1, $nb, $orderby, $orderway, false, true, $random, $nb); 317 Configuration::updateValue('LEO_CURRENT_RANDOM_CACHE', '1'); 318 break;Configuration.rst https://github.com/hansdubois/Docblox.git | ReStructuredText | 386 lines
39arguments to tell DocBlox the location of your configuration file. 40This can be convenient for centralized configuration management or 41using different settings per environment. 93 <files> 94 <file>test.php</php> 95 <file>bin/*</php> 137 138The DocBlox configuration file contains the following top level 139elements which are explained in more detail in the sub-chapters. 170 must have to be interpreted. If a file does not have the extension 171 mentioned in this list then it is not parsed. Examples: php, php3 172 or phtml. 327 <files> 328 <file>test.php</php> 329 <file>bin/*</php>after-the-deadline.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 330 lines
41 Jetpack::enable_module_configurable( __FILE__ ); 42 Jetpack::module_configuration_load( __FILE__, 'AtD_configuration_load' ); 43 } 61 */ 62include( dirname( __FILE__ ) . '/after-the-deadline/config-options.php' ); 63include( dirname( __FILE__ ) . '/after-the-deadline/config-unignore.php' ); 63include( dirname( __FILE__ ) . '/after-the-deadline/config-unignore.php' ); 64include( dirname( __FILE__ ) . '/after-the-deadline/proxy.php' ); 65 68/* 69 * Display the AtD configuration options 70 */ 285 286 $pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'admin.php', 'profile.php' ); 287captcha.php https://bitbucket.org/marekmurawski/social_login.git | PHP | 478 lines
1<?php 2/** 6 * @license GPLv3 7 * @link http://code.google.com/p/cool-php-captcha 8 * @package captcha 25 /** Dictionary word file (empty for random text) */ 26 public $wordsFile = 'words/en.php'; 27 67 /** 68 * Font configuration 69 * 350 if (empty($fontcfg)) { 351 // Select the font configuration 352 $fontcfg = $this->fonts[array_rand($this->fonts)];ConfigTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 319 lines
1<?php 2/** 8/** 9 * Test of communication configuration reading and parsing. 10 * 12 */ 13class ConfigTest extends \PHPUnit_Framework_TestCase 14{ 20 $topics = $this->getConfigInstance(__DIR__ . '/_files/valid_communication.xml')->getTopics(); 21 $expectedParsedTopics = include __DIR__ . '/_files/valid_communication_expected.php'; 22 $this->assertEquals($expectedParsedTopics, $topics); 25 /** 26 * Get topic configuration by its name 27 */ 30 $topics = $this->getConfigInstance(__DIR__ . '/_files/valid_communication.xml')->getTopic('customerCreated'); 31 $expectedParsedTopics = include __DIR__ . '/_files/valid_communication_expected.php'; 32 $this->assertEquals($expectedParsedTopics['customerCreated'], $topics);module.itop-profiles-itil.php https://github.com/adiakin/itop.git | PHP | 370 lines
1<?php 2// Copyright (C) 2010 Combodo SARL 36 'datamodel' => array( 37 //'model.itop-profiles-itil.php', 38 ), 39 'webservice' => array( 40 //'webservices.itop-profiles-itil.php', 41 ), 66{ 67 public static function BeforeWritingConfig(Config $oConfiguration) 68 { 68 { 69 //$oConfiguration->SetModuleSetting('user-rigths-profile', 'myoption', 'myvalue'); 70 return $oConfiguration; 72 73 public static function AfterDatabaseCreation(Config $oConfiguration, $sPreviousVersion, $sCurrentVersion) 74 {url-rewriting.rst https://github.com/steinkel/docs.git | ReStructuredText | 319 lines
37 Pour les utilisateurs qui ont apache 2.4 et supérieur, vous devez modifier 38 le fichier de configuration pour votre ``httpd.conf`` ou la configuration de 39 l'hôte virtuel pour ressembler à ce qui suit:: 195 196 location ~ \.php$ { 197 include /etc/nginx/fastcgi_params; 220.. note:: 221 Les récentes configurations de PHP-FPM sont définies pour écouter sur le 222 socket php-fpm au lieu du port TCP 9000 sur l'adresse 127.0.0.1. Si vous 305 RequestURI exists Return 306 Match .* Rewrite /index.php 307 } 313web, référez-vous à la section 314:ref:`core configuration<core-configuration-baseurl>`. 315mainPageLeft.tpl https://github.com/testlinkjp/testlink-japanese-localization.git | Smarty Template | 298 lines
148 <img src="{$tlImages.bullet}" /> 149 <a href="lib/project/projectView.php?tproject_id={$gui->testprojectID}">{$labels.href_tproject_management}</a> 150 {/if} 152 {* 153 {if $gui->grants.configuration == "yes"} 154 <br /> 155 <img src="{$tlImages.bullet}" /> 156 <a href="lib/admin/modules.php">{$labels.href_admin_modules}</a> 157 {/if} 162 <img src="{$tlImages.bullet}" /> 163 <a href="lib/usermanagement/usersAssign.php?featureType=testproject&featureID={$gui->testprojectID}">{$labels.href_assign_user_roles}</a> 164 {/if} 168 <img src="{$tlImages.bullet}" /> 169 <a href="lib/cfields/cfieldsView.php?tproject_id={$gui->testprojectID}">{$labels.href_cfields_management}</a> 170 <br />RevisionOverviewForm.php https://gitlab.com/Drulenium-bot/diff | PHP | 356 lines
1<?php 2 56 /** 57 * Wrapper object for writing/reading simple configuration from diff.settings.yml 58 */exceptions.php https://github.com/simkimsia/cake2-practice-app.git | PHP | 491 lines
1<?php 2/** 2/** 3 * Exceptions file. Contains the various exceptions CakePHP will throw until they are 4 * moved into their permanent location. 5 * 6 * PHP 5 7 * 7 * 8 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 9 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 16 * @package Cake.Error 380class MissingDatasourceConfigException extends CakeException { 381 protected $_messageTemplate = 'The datasource configuration "%s" was not found in database.php'; 382}directories.php https://github.com/projectfork/Projectfork.git | PHP | 377 lines
1<?php 2/** 25 * 26 * @param array An optional associative array of configuration settings. 27 * 355 /** 356 * Method to get a store id based on model configuration state. 357 *blameable.md https://bitbucket.org/hanutimes/hanutimes.git | Markdown | 592 lines
61 62Available configuration options: 63 75 76``` php 77<?php 140 141``` php 142<?php 209 210``` php 211<?php 346 347``` php 348<?phpindex.html https://github.com/iconifyit/SkyBlue-CMS.git | HTML | 262 lines
46 // Settings up the tree - using $(selector).jstree(options); 47 // All those configuration options are documented in the _docs folder 48 $("#demo") 51 "plugins" : [ "themes", "json_data", "ui", "crrm", "cookies", "dnd", "search", "types", "hotkeys", "contextmenu" ], 52 // Plugin configuration 53 59 // the URL to fetch the data 60 "url" : "./server.php", 61 // this function is executed in the instance's scope (this refers to the tree instance) 76 "ajax" : { 77 "url" : "./server.php", 78 // You get the search string as a parameter 147 $.post( 148 "./server.php", 149 {Common.php https://bitbucket.org/myockey/clearcreek-chapel-website.git | PHP | 503 lines
41*/ 42 function is_php($version = '5.0.0') 43 { 43 { 44 static $_is_php; 45 $version = (string)$version; 48 { 49 $_is_php[$version] = (version_compare(PHP_VERSION, $version) < 0) ? FALSE : TRUE; 50 } 194/** 195* Loads the main config.php file 196* 212 // Fetch the config file 213 if ( ! file_exists(APPPATH.'config/config.php')) 214 {SmartyBC.class.php https://gitlab.com/milutinke97/Controlify | PHP | 455 lines
1<?php 2/** 2/** 3 * Project: Smarty: the PHP compiling template engine 4 * File: SmartyBC.class.php 30 */ 31require_once(dirname(__FILE__) . '/Smarty.class.php'); 32 47 /** 48 * This is an array of directories where trusted php scripts reside. 49 * 100 * @param string $function the name of the template function 101 * @param string $function_impl the name of the PHP function to register 102 * @param bool $cacheable 123 * @param string $object name of template object 124 * @param object $object_impl the referenced PHP object to register 125 * @param array $allowed list of allowed methods (empty = all)Packaging.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 371 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 47 /** 48 * Configuration for popup window for packaging 49 *Packaging.php https://github.com/pixel-cookers/magento_bootstrap.git | PHP | 371 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 47 /** 48 * Configuration for popup window for packaging 49 *ModuleAutoloader.php https://bitbucket.org/zbahij/eprojets_app.git | PHP | 416 lines
1<?php 2/** 12// Grab SplAutoloader interface 13require_once __DIR__ . '/SplAutoloader.php'; 14 48 * 49 * Allow configuration of the autoloader via the constructor. 50 * 192 193 // No directory with Module.php, searching for phars 194 if ($pharSuffixPattern) { 225 { 226 $file = new SplFileInfo($dirPath . '/Module.php'); 227 if ($file->isReadable() && $file->isFile()) { 227 if ($file->isReadable() && $file->isFile()) { 228 // Found directory with Module.php in it 229 require_once $file->getRealPath();rsslib.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 379 lines
1<?php 2 39 if (empty($CFG->forum_enablerssfeeds)) { 40 debugging('DISABLED (module configuration)'); 41 return null; 336 $item->author = fullname($user); 337 $message = file_rewrite_pluginfile_urls($rec->postmessage, 'pluginfile.php', $context->id, 338 'mod_forum', 'post', $rec->postid); 342 if ($isdiscussion) { 343 $item->link = $CFG->wwwroot."/mod/forum/discuss.php?d=".$rec->discussionid; 344 } else { 344 } else { 345 $item->link = $CFG->wwwroot."/mod/forum/discuss.php?d=".$rec->discussionid."&parent=".$rec->postid; 346 } 367 $header = rss_standard_header(strip_tags(format_string($forum->name,true)), 368 $CFG->wwwroot."/mod/forum/view.php?f=".$forum->id, 369 format_string($forum->intro,true)); // TODO: fix formatCDbwEvaluator.java https://bitbucket.org/AlexeyD/hibench.git | Java | 340 lines
25import com.google.common.collect.Maps; 26import org.apache.hadoop.conf.Configuration; 27import org.apache.hadoop.fs.Path; 45 * This class calculates the CDbw metric as defined in 46 * http://www.db-net.aueb.gr/index.php/corporate/content/download/227/833/file/HV_poster2002.pdf 47 */ 82 * @param conf 83 * a Configuration with appropriate parameters 84 * @param clustersIn 86 */ 87 public CDbwEvaluator(Configuration conf, Path clustersIn) { 88 measure = ClassUtils.instantiateAs(conf.get(RepresentativePointsDriver.DISTANCE_MEASURE_KEY), 103 */ 104 private static List<Cluster> loadClusters(Configuration conf, Path clustersIn) { 105 List<Cluster> clusters = Lists.newArrayList();CHANGES.html https://github.com/horde/horde-web.git | HTML | 326 lines
9[jan] Provide default configuration files instead of .dist versions. 10[jan] Rename sourceroots.php to backends.php. 11[mms] Patchset page supports viewing a single patchset. 48 diffing on a VC system where the revision numbers of a single file 49 are not always consecutive (helly@php.net, <a href="http://bugs.horde.org/ticket/5350">Request #5350</a>). 50[jan] Add configuration to specify temporary directory for SVN (requires Horde 142[cjh] Moved the text MIME_Viewer to Horde, since it doesn't provide anything 143 local to Chora. Remove related settings from mime_drivers.php.dist. 144[cjh] Use Horde::compressOutput() for output compression. 203[jan] Add menu system and prefs file as per other horde apps, add help file (ejr). 204[jan] Replace <?= with <?php echo to remove the short_open_tags requirement (cjh). 205[jan] Show links to view, annotate and download files in the annotate and view 276[avsm] Cache the checkout of a file for a month. 277[avsm] Rename checkout.php to co.php for shorter URLs. 278[avsm] Fix the branch code up significantly, and show in the log view.Buckets.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 268 lines
1<?php 2/* 166 * Patches a bucket. Changes to the bucket will be readable immediately after 167 * writing, but configuration changes may take time to propagate. 168 * (buckets.patch) 237 * Updates a bucket. Changes to the bucket will be readable immediately after 238 * writing, but configuration changes may take time to propagate. 239 * (buckets.update)mc_api.php https://github.com/fusenigk/mantisbt-1.git | PHP | 479 lines
1<?php 2# MantisConnect - A webservice interface to Mantis Bug Tracker 11 12# override some MantisBT configurations 13$g_show_detailed_errors = OFF; 32function mci_is_mantis_offline() { 33 $t_offline_file = dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'mantis_offline.php'; 34 return file_exists( $t_offline_file ); 226/** 227 * Basically this is a copy of core/filter_api.php#filter_db_get_available_queries(). 228 * The only difference is that the result of this function is not an array of filter 332 # check if errors were disabled with @ somewhere in this call chain 333 # also suppress php 5 strict warnings 334 if( 0 == error_reporting() || 2048 == $p_type ) { 394 395# Get a stack trace if PHP provides the facility or xdebug is present 396function error_get_stack_trace() {Migration.php https://github.com/erromu/CodeIgniter.git | PHP | 477 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 151 { 152 show_error('Migrations configuration file (migration.php) must have "migration_table" set.'); 153 } 282 include_once($file); 283 $class = 'Migration_'.ucfirst(strtolower($this->_get_migration_name(basename($file, '.php')))); 284 381 382 // Load all *_*.php files in the migrations path 383 foreach (glob($this->_migration_path.'*_*.php') as $file) 384 { 385 $name = basename($file, '.php'); 386configuration.php https://github.com/nguyennamtien/appleseed.git | PHP | 485 lines
36 /** 37 * Load a configuration file, using inheritance if necessary 38 * 52 if ( isset ( $zApp->Config ) ) { 53 $mode = $zApp->Config->GetConfiguration ( 'mode' ); 54 } 90 foreach ( $dirs as $dir => $values ) { 91 $inherit = isset ( $configurations[$dir]->_Data['inherit'] ) ? $configurations[$dir]->_Data['inherit'] : false; 92 118 // Set the values as a child of parent 119 $configurations[$inherit]->Child = $configurations[$dir]; 120 unset ($configurations[$dir]); 377 /** 378 * Parses an ini file depending on which PHP version is being used 379 *Session.php https://github.com/Xavy/SDS.git | PHP | 550 lines
1<?php 2 33 34 /** @var array default configuration */ 35 private $options = array( 36 // security 37 'referer_check' => '', // must be disabled because PHP implementation is invalid 38 'use_cookies' => 1, // must be enabled to prevent Session Hijacking and Fixation 362 363 /********************* configuration ****************d*g**/ 364Direct.php https://gitlab.com/yousafsyed/easternglamor | PHP | 511 lines
1<?php 2/** 12 * PayPal Direct Module 13 * @SuppressWarnings(PHPMD.TooManyFields) 14 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 154 * @param array $data 155 * @SuppressWarnings(PHPMD.ExcessiveParameterList) 156 */ 272 /** 273 * Custom getter for payment configuration 274 * 277 * @return null|string 278 * @SuppressWarnings(PHPMD.UnusedFormalParameter) 279 */ConfigSync.php https://gitlab.com/reasonat/test8 | PHP | 414 lines
22/** 23 * Construct the storage changes in a configuration synchronization form. 24 */ 48 /** 49 * The snapshot configuration object. 50 * 191 elseif (!$storage_comparer->validateSiteUuid()) { 192 drupal_set_message($this->t('The staged configuration cannot be imported, because it originates from a different site than this site. You can only synchronize configuration between cloned instances of this site.'), 'error'); 193 $form['actions']['#access'] = FALSE; 196 // A list of changes will be displayed, so check if the user should be 197 // warned of potential losses to configuration. 198 if ($this->snapshotStorage->exists('core.extension')) { 401 else { 402 drupal_set_message(\Drupal::translation()->translate('The configuration was imported successfully.')); 403 }Config.php https://github.com/ShinichiU/opCalendarPlugin.git | PHP | 414 lines
1<?php 2/* 18/** 19 * A class to contain the library configuration for the Google API client. 20 */ 27 const USE_AUTO_IO_SELECTION = "auto"; 28 protected $configuration; 29 112 if (is_array($ini) && count($ini)) { 113 $merged_configuration = $ini + $this->configuration; 114 if (isset($ini['classes']) && isset($this->configuration['classes'])) { 114 if (isset($ini['classes']) && isset($this->configuration['classes'])) { 115 $merged_configuration['classes'] = $ini['classes'] + $this->configuration['classes']; 116 } 116 } 117 $this->configuration = $merged_configuration; 118 }Project_View.html https://github.com/hotrhino/ide_core.git | HTML | 138 lines
6 <!--<script type="text/javascript" src="http://www.aptana.com/docs/help.js"></script>--> 7 <!--<script type="text/javascript" src="http://www.aptana.com/docs/index.php?title=Project_View&action=raw&gen=js">--> 8 <link rel="stylesheet" href="http://www.aptana.com/docs/" type="text/css"> 21 <body> 22 <div class="classBlock"> <a href="http://www.aptana.com/" target="_blank"><img src="../../content/aptana.gif" border="0" hspace="21" vspace="7"></img></a><h1>Project View [<a href="http://www.aptana.com/docs/index.php?title=Project_View&action=edit">edit</a>]</h1> 23 <div class="content"> 59<ul><li> The <b>Project Explorer</b> view is the simplest view of projects where navigator and project allow you to drill down into a project or folder via the buttons on the toolbar. 60</li><li> The <b>Projects</b> view is a view we created that extends the <b>Navigator</b> view but integrates better in Aptana Studio such as allows custom background and foreground settings and adds listeners when you delete a project so that you can also delete any run configurations you have associated with that project.</div> 61</li></ul> 116</li><li> <a href="Navigating_open_files_with_Next_Editor_or_Previous_Editor.html" title="Navigating open files with Next Editor or Previous Editor">Navigating open files with Next Editor or Previous Editor</a> 117</li><li> <a href="Setting_up_your_web_browser_configuration.html" title="Setting up your web browser configuration">Setting up your web browser configuration</a> 118</li><li> <a href="Creating_a_working_set_of_projects.html" title="Creating a working set of projects">Creating a working set of projects</a> 122<div class="printfooter"> 123Retrieved from "<a href="http://aptana.com/docs/index.php/Project_View">http://aptana.com/docs/index.php/Project_View</a>"</div> 124 <script>item_barcode_generator.php https://github.com/hendrowicaksono/s3st12-soap.git | PHP | 265 lines
26// start the session 27require SENAYAN_BASE_DIR.'admin/default/session.inc.php'; 28require SIMBIO_BASE_DIR.'simbio_GUI/table/simbio_table.inc.php'; 78 // send ajax request 79 echo 'new Ajax.Request(\''.SENAYAN_WEB_ROOT_DIR.'lib/phpbarcode/barcode.php?code='.$itemID.'&encoding='.$sysconf['barcode_encoding'].'&scale='.$size.'&mode=png\', { method: \'get\', onFailure: function(sendAlert) { alert(\'Error creating barcode!\'); } });'."\n"; 80 // add to sessions 136 137 // include printed settings configuration file 138 require SENAYAN_BASE_DIR.'admin'.DIRECTORY_SEPARATOR.'admin_template'.DIRECTORY_SEPARATOR.'printed_settings.inc.php'; 195<div class="menuBoxInner printIcon"> 196 <?php echo __('Item Barcodes Printing'); ?> - <a target="blindSubmit" href="<?php echo MODULES_WEB_ROOT_DIR; ?>bibliography/item_barcode_generator.php?action=print" class="headerText2"><?php echo __('Print Barcodes for Selected Data');?></a> 197 <a href="#" onclick="<?php echo MODULES_WEB_ROOT_DIR; ?>bibliography/item_barcode_generator.php?action=clear" class="headerText2" style="color: #FF0000;"><?php echo __('Clear Print Queue'); ?></a> 200 <input type="text" name="keywords" size="30" /> 201 <input type="button" id="doSearch" onclick="setContent('mainContent', '<?php echo MODULES_WEB_ROOT_DIR; ?>bibliography/item_barcode_generator.php?' + $('search').serialize(), 'post')" value="<?php echo __('Search'); ?>" class="button" /> 202 </form>DefaultTaskManager.class.php https://bitbucket.org/stk2k/charcoalphp2.1.git | PHP | 405 lines
1<?php 2/** 4* 5* PHP version 5 6* 7* @package objects.task_managers 8* @author CharcoalPHP Development Team 9* @copyright 2008 stk2k, sazysoft 27 * 28 * @param array $config configuration data 29 */HydratorFactory.php https://bitbucket.org/paulscott56/c4-framework.git | PHP | 402 lines
1<?php 2/* 37 * 38 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 39 * @link www.doctrine-project.com 141 if (! class_exists($fqn, false)) { 142 $fileName = $this->hydratorDir . DIRECTORY_SEPARATOR . $hydratorClassName . '.php'; 143 if ($this->autoGenerate) { 156 * @param string $toDir The target directory of the hydrator classes. If not specified, the 157 * directory configured on the Configuration of the DocumentManager used 158 * by this factory is used. 165 $hydratorClassName = str_replace('\\', '', $class->name) . 'Hydrator'; 166 $hydratorFileName = $hydratorDir . $hydratorClassName . '.php'; 167 $this->generateHydratorClass($class, $hydratorClassName, $hydratorFileName); 204 $mapping['fieldName'], 205 Type::getType($mapping['type'])->closureToPHP() 206 );cache.php https://github.com/danmarsden/moodle.git | PHP | 192 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 37$string['cacheadmin'] = 'Cache administration'; 38$string['cacheconfig'] = 'Configuration'; 39$string['cachedef_calendar_subscriptions'] = 'Calendar subscriptions'; 161$string['sharingselected_version'] = 'Version'; 162$string['storeconfiguration'] = 'Store configuration'; 163$string['storename'] = 'Store name'; 170$string['storerequiresattention'] = 'Requires attention.'; 171$string['storerequiresattention_help'] = 'This store instance is not ready to be used but has mappings. Fixing this issue will improve performance on your system. Please check that the store backend is ready to be used and that any PHP requirements are met.'; 172$string['storeresults_application'] = 'Store requests when used as an application cache.';Item.php https://bitbucket.org/kdms/sh-magento.git | PHP | 499 lines
1<?php 2/** 50class Enterprise_GiftRegistry_Model_Item extends Mage_Core_Model_Abstract 51 implements Mage_Catalog_Model_Product_Configuration_Item_Interface 52{ 467 * Returns special download params (if needed) for custom option with type = 'file' 468 * Needed to implement Mage_Catalog_Model_Product_Configuration_Item_Interface. 469 * Currently returns null, as far as we don't show file options and don't need controllers to give file.index.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 414 lines
65<tr> 66<td align="right" colspan="2"><span class="element"><a href="../../sample.reference.html">Sample Reference</a> - <a href="../../schema.reference.html">Schema Reference</a> - <a href="../../config.reference.html">Configuration Reference</a> - <a href="http://jasperreports.sourceforge.net/api/index.html">API (Javadoc)</a></span> 67<br> 89<br> 90<span class="element"><a href="http://jasperforge.org/scm/viewvc.php/tags/jr-3-7-4/jasperreports/demo/samples/antcompile/?root=jasperreports" target="_blank">Browse Sample Source Files on SVN</a></span> 91<table cellspacing="0" cellpadding="0" border="0" width="100%">module-release-process.md https://github.com/masir/sapphire.git | Markdown | 242 lines
23Think Wordpress and Apple. Most modules should work by merely placing the code in your SilverStripe installation and 24running /dev/build. Provide a default set of configuration options that are easily changed in `_config.php` 25(for instance the `ecommerce` module works out of the box, and you can easily set up a payment provider), aiding a pleasant 82 83 * <Specific SilverStripe version, PHP, MySQL, ...> 84AndroidProvisioningPartner.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 457 lines
1<?php 2/* 36 public $customers; 37 public $customers_configurations; 38 public $customers_devices; 84 ); 85 $this->customers_configurations = new Google_Service_AndroidProvisioningPartner_Resource_CustomersConfigurations( 86 $this, 87 $this->serviceName, 88 'configurations', 89 array( 91 'create' => array( 92 'path' => 'v1/{+parent}/configurations', 93 'httpMethod' => 'POST', 121 ),'list' => array( 122 'path' => 'v1/{+parent}/configurations', 123 'httpMethod' => 'GET',Html.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 453 lines
38 * @version CVS: $Id: Html.php,v 1.12 2008/07/22 20:26:19 farell Exp $ 39 * @link http://pear.php.net/package/PHP_CompatInfo 40 * @since File available since Release 1.8.0b4 52 * 53 * @category PHP 54 * @package PHP_CompatInfo 55 * @author Laurent Laville <pear@laurent-laville.org> 56 * @license http://www.opensource.org/licenses/bsd-license.php BSD 57 * @version Release: 1.8.1 57 * @version Release: 1.8.1 58 * @link http://pear.php.net/package/PHP_CompatInfo 59 * @since Class available since Release 1.8.0b4 60 */ 61class PHP_CompatInfo_Renderer_Html extends PHP_CompatInfo_Renderer 62{ViewsEntitySchemaSubscriber.php https://gitlab.com/mohamed_hussein/prodt | PHP | 424 lines
1<?php 2 217 // All changes done to the views here can be trusted and this might be 218 // called during updates, when it is not safe to rely on configuration 219 // containing valid schema. Trust the data and disable schema validationLayoutBuilder.php https://gitlab.com/mohamed_hussein/prodt | PHP | 394 lines
1<?php 2 42 * 43 * @param array $configuration 44 * A configuration array containing information about the plugin instance. 54 */ 55 public function __construct(array $configuration, $plugin_id, $plugin_definition, $event_dispatcher, $messenger = NULL) { 56 parent::__construct($configuration, $plugin_id, $plugin_definition); 71 */ 72 public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) { 73 return new static( 73 return new static( 74 $configuration, 75 $plugin_id,ListController.php https://gitlab.com/gideonmarked/yovelife | PHP | 486 lines
1<?php namespace Backend\Behaviors; 2 19 /** 20 * @var array List definitions, keys for alias and value for configuration. 21 */ 49 /** 50 * @var array Configuration values that must exist when applying the primary config file. 51 * - modelClass: Class name for the model 76 /* 77 * Build configuration 78 */ 121 /* 122 * Prepare the columns configuration 123 */ 345 346 return implode(PHP_EOL, $collection); 347 }usage.rst https://github.com/richsage/symfony-docs.git | ReStructuredText | 437 lines
53 54.. configuration-block:: 55 69 70 .. code-block:: php 71 82 The placeholders can take on any form as the full message is reconstructed 83 using the PHP :phpfunction:`strtr function<strtr>`. But the ``%...%`` form 84 is recommended, to avoid problems when using Twig. 109 110.. configuration-block:: 111 134 135 .. code-block:: php 136core.php https://bitbucket.org/LeThanhDat/firstdummyapp.git | PHP | 348 lines
8 * 9 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 10 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @link http://cakephp.org CakePHP(tm) Project 18 * @package app.Config 87/** 88 * To configure CakePHP *not* to use mod_rewrite and to 89 * use CakePHP pretty URLs, remove these .htaccess 167 * - `Session.defaults` - The default configuration set to use as a basis for your session. 168 * There are four builtins: php, cake, cache, database. 169 * - `Session.handler` - Can be used to enable a custom session handler. Expects an array of callables, 177 * 178 * - 'php' - Uses settings defined in your php.ini. 179 * - 'cake' - Saves session files in CakePHP's /tmp directory.anomaly.h https://bitbucket.org/Lloir/lge-kernel-jb.git | C Header | 278 lines
9 * Licensed under the ADI BSD license. 10 * https://docs.blackfin.uclinux.org/doku.php?id=adi_bsd 11 */ 60#define ANOMALY_05000330 (__SILICON_REVISION__ < 2) 61/* Disallowed Configuration Prevents Subsequent Allowed Configuration on Host DMA Port */ 62#define ANOMALY_05000337 (_ANOMALY_BF527(< 2)) 158#define ANOMALY_05000424 (_ANOMALY_BF527(< 2)) 159/* Multichannel SPORT Channel Misalignment Under Specific Configuration */ 160#define ANOMALY_05000425 (_ANOMALY_BF526_BF527(< 1, < 2))FileSystem_FtpTest.php https://github.com/ThiloWitt/core.git | PHP | 436 lines
1<?php 2require_once dirname(__FILE__) . '/../../../../bootstrap.php'; 4// exclude the following file from code coverage reports. 5PHP_CodeCoverage_Filter::getInstance()->addFileToBlacklist(dirname(__FILE__). '/../../../../../src/lib/Zikula/FileSystem/Facade/Ftp.php'); 6 11 */ 12class Zikula_FileSystem_FtpTest extends PHPUnit_Framework_TestCase 13{ 25 parent::setUp(); 26 $config = new Zikula_FileSystem_Configuration_Ftp(); 27 $this->Zikula_FileSystem_Ftp = new Zikula_FileSystem_Ftp($config); 43 { 44 $config = new Zikula_FileSystem_Configuration_Ftp(1,2,3,4,5,6,true); 45 $fs = new Zikula_FileSystem_Ftp($config); 61 62 $config = new Zikula_FileSystem_Configuration_Ftp(); 63 $fs = new Zikula_FileSystem_Ftp($config);UserApi.php https://github.com/planetenkiller/core.git | PHP | 409 lines
1<?php 2/** 40 /** 41 * Format the variables of a theme or pageconfiguration 42 * It uses the theme additional variables as a base which should be variables specifications 150 /** 151 * Get all page configurations for a theme 152 */ 152 */ 153 public function getpageconfigurations($args) 154 { 159 160 return $this->_readinifile(array('theme'=> $args['theme'], 'file' => 'pageconfigurations.ini', 'sections' => true)); 161 } 163 /** 164 * Get a page configuration for a theme 165 */studio.php https://gitlab.com/e0/X2CRM | PHP | 194 lines
1<?php return array ( 2 'Compare Attribute' => '比较属性', 69 'Current Timestamp' => '当前时间戳', 70 'Flow configuration data appears to be corrupt.' => '流量配置数据似乎已损坏。', 71 'You must configure a trigger event.' => '您必须设定一个触发事件。', 98 'View created action: ' => '查看创建的动作:', 99 'Flow item configuration error: No attributes added' => '流项目配置错误:添加无属性', 100 'View updated record: ' => '查看更新记录:',ConfigFile.class.php https://gitlab.com/qbarbosa/klindev | PHP | 542 lines
17 /** 18 * Stores default PMA config from config.default.php 19 * @var array 75 * 76 * @param array $base_config base configuration read from 77 * {@link PMA_Config::$base_config}, 83 $cfg = &$this->_defaultCfg; 84 include './libraries/config.default.php'; 85 $cfg['fontsize'] = '82%'; 317 * Returns default config value or $default it it's not set ie. it doesn't 318 * exist in config.default.php ($cfg) and config.values.php 319 * ($_cfg_db['_overrides']) 488 if (!defined('SETUP_CONFIG_FILE')) { 489 include_once './libraries/vendor_config.php'; 490 }tooltips.php https://github.com/ushahidi/Ushahidi-Localizations.git | PHP | 97 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2// DO NOT EDIT 94 'settings_site_timezone' => 'Questo è il fuso orario in cui il tuo sito opera. Ha un effetto su qualsiasi azione tu abbia configurato che utilizzi l\'ora o la data, così come sull\'orario di riferimento per i report sia per gli utenti che per gli amministratori.', 95 'settings_twitter_configuration' => 'Definisci l\'hashtag che verrà utilizzato nei post su twitter.', 96 'feed_geolocation_user' => 'Se volete eseguire la geocodifica dei feed che ricevete, create un utente su http://www.geonames.org, abilitare il servizio web libero e inseritelo qui. Lasciare vuoto per disabilitare questa funzione<br /><br />Attenzione ai limiti di utilizzo!',ScriptTagProxy.html https://gitlab.com/rsilveira1987/Expresso | HTML | 309 lines
43</code></pre> 44 * <p>Below is a PHP example to do the same thing:</p><pre><code> 45$callback = $_REQUEST['callback']; 71 * @constructor 72 * @param {Object} config A configuration object. 73 */Settings.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 332 lines
1<?php 2/** 2/** 3 * PHPExcel 4 * 22 * @package PHPExcel_Settings 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); 34 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 35} 112 * @param string $zipClass The Zip handler class that PHPExcel should use for Zip file management 113 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive 114 * @return boolean Success or failure 131 * for Zip file management 132 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive 133 */ClassMetadataFactory.php https://github.com/feychenie/Doctrine-ODM-bundle.git | PHP | 408 lines
1<?php 2/* 22use Doctrine\ODM\MongoDB\DocumentManager, 23 Doctrine\ODM\MongoDB\Configuration, 24 Doctrine\ODM\MongoDB\Mapping\ClassMetadata, 34 * 35 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 36 * @link www.doctrine-project.com 45 46 /** The Configuration instance */ 47 private $config; 74 /** 75 * Sets the Configuration instance 76 * 78 */ 79 public function setConfiguration(Configuration $config) 80 {lang.php https://github.com/kosenconf/kcweb.git | PHP | 190 lines
1<?php 2/** 21$lang['security'] = '安全性警告:改變此選項可能造成安全風險。'; 22$lang['_configuration_manager'] = '配置管理'; 23$lang['_header_dokuwiki'] = 'DokuWiki 設定'; 56$lang['htmlok'] = '允許嵌入式 HTML'; 57$lang['phpok'] = '允許嵌入式 PHP'; 58$lang['dformat'] = '日期格式 (參見 PHP 的 <a href="http://www.php.net/strftime">strftime</a> 函數)'; 104$lang['locktime'] = '檔案的最大鎖定時間 (秒)'; 105$lang['fetchsize'] = 'fetch.php 可以從外部下載的最大檔案尺寸 (bytes)'; 106$lang['notify'] = '寄送變更通知信到這個 E-mail 位址'; 119$lang['sitemap'] = '產生 Google 站台地圖 (天)'; 120$lang['broken_iua'] = 'ignore_user_abort 功能失效了?這有可能導致搜索索引不可用。IIS+PHP/CGI 已損壞。請參閱 <a href=\"http://bugs.splitbrain.org/?do=details&task_id=852\">Bug 852</a> 獲取更多信息。'; 121$lang['xsendfile'] = '使用 X-Sendfile 頭讓服務器發送狀態文件?您的服務器需要支持該功能。';mainPageLeft.tpl https://github.com/viglesiasce/testlink.git | Smarty Template | 309 lines
157 <img src="{$smarty.const.TL_ITEM_BULLET_IMG}" /> 158 <a href="lib/project/projectView.php">{$labels.href_tproject_management}</a> 159 {/if} 161 {* 162 {if $gui->grants.configuration == "yes"} 163 <br /> 164 <img src="{$smarty.const.TL_ITEM_BULLET_IMG}" /> 165 <a href="lib/admin/modules.php">{$labels.href_admin_modules}</a> 166 {/if} 171 <img src="{$smarty.const.TL_ITEM_BULLET_IMG}" /> 172 <a href="lib/usermanagement/usersAssign.php?featureType=testproject&featureID={$gui->testprojectID}">{$labels.href_assign_user_roles}</a> 173 {/if} 177 <img src="{$smarty.const.TL_ITEM_BULLET_IMG}" /> 178 <a href="lib/cfields/cfieldsView.php">{$labels.href_cfields_management}</a> 179 <br />files.consts.php https://github.com/iconifyit/SkyBlue-1.1.git | PHP | 264 lines
1<?php 2 23# The SKYBLUE constant must always be defined by the main entry point 24# (i.e., the index.php file). This prevents direct access to any sub-files. 25# ################################################################################### 34 35sb_conf('SB_LANG_FILE', SB_BASE_PATH.'languages/'.SB_LANGUAGE.'.lang.php'); 36 48 49sb_conf('SB_XML_PARSER_FILE', SB_INC_DIR.'xml.parser.php'); 50 59 60sb_conf('SB_DATASOURCE_FILE', SB_INC_DIR.'datasource.php'); 61 67 68sb_conf('SB_POSTMASTER_FILE', SB_INC_DIR.'postmaster.php'); 69CacheTest.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 522 lines
1<?php 2/** 4 * 5 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests 14 * @package Cake.Test.Case.Cache 14 * @package Cake.Test.Case.Cache 15 * @since CakePHP(tm) v 1.2.0.5432 16 * @license http://www.opensource.org/licenses/mit-license.php MIT License 130 * 131 * @expectedException PHPUnit_Framework_Error_Warning 132 * @return void 196/** 197 * test that calling config() sets the 'default' configuration up. 198 *ContainableBehavior.php https://gitlab.com/digaotinfo/agendaLegislativa | PHP | 428 lines
1<?php 2/** 6 * 7 * PHP 5 8 * 8 * 9 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @link http://cakephp.org CakePHP(tm) Project 17 * @package Cake.Model.Behavior 17 * @package Cake.Model.Behavior 18 * @since CakePHP(tm) v 1.2.0.5669 19 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 27 * @package Cake.Model.Behavior 28 * @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html 29 */settings.php https://gitlab.com/endomorphosis/tactilevision | PHP | 258 lines
47 * 48 * Note that the $db_url variable gets parsed using PHP's built-in 49 * URL parser (i.e. using the "parse_url()" function) so make sure 116 * 117 * If you are updating your Drupal installation using the update.php script 118 * being not logged in as administrator, you will need to modify the access 150 * be set at runtime (ie., when ini_set() occurs), read the PHP 151 * documentation at http://www.php.net/manual/en/ini.php#ini.list 152 * and take a look at the .htaccess file to see which non-runtime 174 * and increase the limits of these variables. For more information, see 175 * http://php.net/manual/en/pcre.configuration.php. 176 */ 195 * useful in a configuration file for a vhost or directory, rather than 196 * the default settings.php. Any configuration setting from the 'variable' 197 * table can be given a new value. Note that any values you provide inthemeuploader.php https://gitlab.com/BeS/io.schiessle.org | PHP | 353 lines
1<?php 2/** 6 * 7 * PHP version 5 8 * 49 if (!class_exists('ZipArchive')) { 50 // TRANS: Exception thrown when a compressed theme is uploaded while no support present in PHP configuration. 51 throw new Exception(_('This server cannot handle theme uploads without ZIP support.')); 232 } 233 if (preg_match('/\.(php|cgi|asp|aspx|js|vb)\w/i', $name)) { 234 common_log(LOG_ERR, "Unsafe theme filename: $name");modcontext.class.php https://github.com/francisreboucas/revolution.git | PHP | 330 lines
1<?php 2/** 16 /** 17 * An array of configuration options for this context 18 * @var array $config 66 xPDO::OPT_CACHE_HANDLER => $this->xpdo->getOption('cache_context_settings_handler', null, $this->xpdo->getOption(xPDO::OPT_CACHE_HANDLER, null, 'cache.xPDOFileCache')), 67 xPDO::OPT_CACHE_FORMAT => (integer) $this->xpdo->getOption('cache_context_settings_format', null, $this->xpdo->getOption(xPDO::OPT_CACHE_FORMAT, null, xPDOCacheManager::CACHE_PHP)), 68 )))) {Using FPM.md https://bitbucket.org/mkalkbrenner/homebrew-php.git | Markdown | 247 lines
1This is a step-by-step guide to set up PHP-FPM to work with OS X built-in Apache. The following assumes that you are familiar with configuring Apache and you know what PHP-FPM is. In short, PHP-FPM allows you to decouple PHP and your web server, by running PHP instances in separate processes. This has several benefits, including improved performance, robustness (bugs in PHP do not crash the whole web server) and flexibility (e.g., interfacing with Apache and Nginx). Another advantage, especially for local development, is that PHP may run as your user (which is the default for a “standard” Homebrew), so that files written by web applications will be owned by you, and not by `_www`. See http://php-fpm.org/ for more information. The following setup has been tested on Snow Leopard and Lion, and has been used for development for more than one year without any problem. 2 13 14If you are using PHP 5.3.x, just replace all occurrences of “php54” with “php53” in the instructions. 15 87 88PHP-FPM's configuration file is located at $HOMEBREW_PREFIX/etc/php/5.4/php-fpm.conf. The default configuration is fine for most purposes, but you may want to edit it to suit your needs. For example, some parameters you may want to tune are `pm.start_servers` (number of child processes at startup), `pm.max_spare_servers` (maximum number of idle server processes), `pm.max_requests` (maximum number of requests each child process should execute before respawning), etc… 89 89 90If you want PHP-FPM to listen on a Unix socket instead of a TCP socket (see the virtual host configuration below), which is faster when the web server and PHP-FPM are on the same machine, you must change `listen = 127.0.0.1:9000` to `listen = /tmp/php-fpm.sock` in php-fpm.conf. 91 160 161If all is fine, you may kill php-fpm and launch it as a launchd daemon. Since PHP and Apache are now decoupled, you may start/stop/update the web server and PHP independently. 162 231``` 232The Alias directive defines the path /php-fpm to point to another path. This is the path that triggers the FastCGIExternalServer directive to forward the request to PHP-FPM. The way this path is chosen is very important, because PHP-FPM will not work unless the path satisfies some constraints. Let me try to explain. In principle, the path may be any “virtual” path (i.e., not existing in the file system), but it turns out (read this thread: http://www.fastcgi.com/archives/fastcgi-developers/2010-September/000594.html) that if the path contains slashes (apart from the leading slash), it won't work unless it is a real path (existing in the file system) accessible by Apache (e.g., /Library/WebServer). Confused? Well, I've spent days trying to figure out. If the alias is /some/path/to/HOSTNAME.fcgi then (1) /some/path/to/ must exist and (2) Apache must be “aware” of it. For example, since OS X Apache's DocumentRoot is set to /Library/WebServer/Documents, these aliases will all work: /HOSTNAME.fcgi (no slashes but the leading slash), /Library/HOSTNAME.fcgi, /Library/WebServer/HOSTNAME.fcgi, /Library/WebServer/Documents/HOSTNAME.fcgi (note, again, that HOSTNAME.fcgi itself does not have to exist in the file system). Note that such paths will work independent of the virtual host's DocumentRoot. If the virtual host's document root is set to /some/path/to/HOSTNAME then these will work, too (provided that /some/path/to exists): /some/HOSTNAME.fcgi, /some/path/HOSTNAME.fcgi, and /some/path/to/HOSTNAME.fcgi. However, /Library/WebServer/Documents/foo/HOSTNAME.fcgi will raise a `Not Found` error, unless the foo directory exists (it may be just an empty folder), and /some/path/to/foo/HOSTNAME.fcgi will raise an `Internal Server Error (Request exceeded the limit of 10 internal redirects due to probable configuration error)`. 233dbo_mysqli.php https://github.com/adivik2000/nigraha.git | PHP | 543 lines
1<?php 2/* SVN FILE: $Id: dbo_mysqli.php 5318 2007-06-20 09:01:21Z phpnut $ */ 3/** 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> 11 * Copyright 2005-2007, Cake Software Foundation, Inc. 19 * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. 20 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 21 * @package cake 22 * @subpackage cake.cake.libs.model.datasources.dbo 23 * @since CakePHP(tm) v 1.1.4.2974 24 * @version $Revision: 5318 $lang.php https://github.com/houshuang/folders2web.git | PHP | 189 lines
1<?php 2/** 19$lang['security'] = 'Aviso de segurança: Alterar esta opção pode apresentar um risco de segurança.'; 20$lang['_configuration_manager'] = 'Gestor de Parâmetros de Configuração'; 21$lang['_header_dokuwiki'] = 'Parâmetros DokuWiki'; 54$lang['htmlok'] = 'Permitir embeber HTML'; 55$lang['phpok'] = 'Permitir embeber PHP'; 56$lang['dformat'] = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)'; 102$lang['locktime'] = 'Idade máxima para locks (seg.)'; 103$lang['fetchsize'] = 'Tamanho máximo (bytes) que o fetch.php pode transferir do exterior'; 104$lang['notify'] = 'Enviar notificações de mudanças para este endereço de email'; 118$lang['sitemap'] = 'Gerar Sitemap Google (dias)'; 119$lang['broken_iua'] = 'A função "ignore_user_abort" não está a funcionar no seu sistema? Isso pode causar um índice de busca defeituoso. Sistemas com IIS+PHP/CGI são conhecidos por possuírem este problema. Veja o <a href="http://bugs.splitbrain.org/?do=details&task_id=852">bug 852</a> para mais informações.'; 120$lang['xsendfile'] = 'Usar o cabeçalho "X-Sendfile" para permitir o servidor de internet encaminhar ficheiros estáticos? O seu servidor de internet precisa ter suporte a isso.';storage-php-how-to-use-blobs.md https://gitlab.com/apachipa/azure-content | Markdown | 309 lines
26 27This guide shows you how to perform common scenarios using the Azure blob service. The samples are written in PHP and use the [Azure SDK for PHP] [download]. The scenarios covered include **uploading**, **listing**, **downloading**, and **deleting** blobs. For more information on blobs, see the [Next steps](#next-steps) section. 28 34 35The only requirement for creating a PHP application that accesses the Azure blob service is the referencing of classes in the Azure SDK for PHP from within your code. You can use any development tools to create your application, including Notepad. 36 51 52> [AZURE.NOTE] This example (and other examples in this article) assume you have installed the PHP Client Libraries for Azure via Composer. If you installed the libraries manually, you need to reference the `WindowsAzure.php` autoloader file. 53 295- Visit the [Azure Storage team blog](http://blogs.msdn.com/b/windowsazurestorage/) 296- See the [PHP block blob example](https://github.com/WindowsAzure/azure-sdk-for-php-samples/blob/master/storage/BlockBlobExample.php). 297- See the [PHP page blob example](https://github.com/WindowsAzure/azure-sdk-for-php-samples/blob/master/storage/PageBlobExample.php). 299 300For more information, see also the [PHP Developer Center](/develop/php/). 301update.php https://github.com/chopsuei3/oscc.git | PHP | 382 lines
1<?php 2/** 76 77 include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 78 116 if ( $ssl && is_wp_error( $response ) ) { 117 trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="http://wordpress.org/support/">support forums</a>.' ) . ' ' . '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)', headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); 118 $response = wp_remote_get( $http_url, $options ); 182 case 'development' : 183 return sprintf( __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), get_bloginfo( 'version', 'display' ), network_admin_url( 'update-core.php' ) ); 184 break; 186 case 'upgrade' : 187 return sprintf( '<strong>'.__( '<a href="%1$s">Get Version %2$s</a>' ).'</strong>', network_admin_url( 'update-core.php' ), $cur->current); 188 break; 203 204 if ( 'update-core.php' == $pagenow ) 205 return;Resource.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 460 lines
1<?php 2/** 23/** Zend_Loader_Autoloader_Interface */ 24require_once 'Zend/Loader/Autoloader/Interface.php'; 25 64 * 65 * @param array|Zend_Config $options Configuration options for resource autoloader 66 * @return void 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 83 ) { 84 require_once 'Zend/Loader/Exception.php'; 85 throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization'); 118 if (!$this->hasResourceType($type)) { 119 require_once 'Zend/Loader/Exception.php'; 120 throw new Zend_Loader_Exception("Invalid resource type $type; cannot load resource");TypedConfigManager.php https://gitlab.com/reasonat/test8 | PHP | 378 lines
1<?php 2 17 /** 18 * A storage instance for reading configuration data. 19 * 24 /** 25 * A storage instance for reading configuration schema data. 26 * 38 /** 39 * Creates a new typed configuration manager. 40 * 201 /** 202 * Gets fallback configuration schema name. 203 * 204 * @param string $name 205 * Configuration name or key. 206 *lab.sql https://gitlab.com/cserobiul/BITM-LabMs-New | SQL | 286 lines
1-- phpMyAdmin SQL Dump 2-- version 4.4.14 2-- version 4.4.14 3-- http://www.phpmyadmin.net 4-- 7-- Server version: 5.6.26 8-- PHP Version: 5.6.12 9 47INSERT INTO `courses` (`id`, `unique_id`, `title`, `duration`, `description`, `course_type`, `course_fee`, `is_active`, `created`, `updated`, `deleted`) VALUES 48(1, '57906272d0888', 'Web App Development', '3 month,144 hours', 'it''s basically php course', 'free', '00', 1, '2016-08-08 02:08:12', '0000-00-00 00:00:00', '0000-00-00 00:00:00'), 49(2, '346324685676h7', 'Computer IT Support', '3 month, 144 hours', 'hmm', 'free', '00', 1, '2016-08-08 00:04:11', '0000-00-00 00:00:00', '0000-00-00 00:00:00'), 120 `ac_status` varchar(111) NOT NULL, 121 `pc_configuration` varchar(255) NOT NULL, 122 `os` varchar(255) NOT NULL, 134 135INSERT INTO `labinfo` (`id`, `course_id`, `lab_no`, `seat_capacity`, `projector_resolution`, `ac_status`, `pc_configuration`, `os`, `trainer_pc_configuration`, `table_capacity`, `internet_speed`, `created`, `updated`, `deleted`) VALUES 136(16, '57a677689eaf6', '405', '30', '1024x768', '1', 'a:4:{s:9:"processor";s:10:"Core 2 Due";s:3:"ram";s:4:"2 gb";s:5:"brand";s:4:"Dell";s:2:"os";s:11:"Windows 8.1";}', '', 'a:4:{s:9:"processor";s:7:"Core I5";s:3:"ram";s:4:"4 gb";s:5:"brand";s:4:"Dell";s:2:"os";s:3:"Mac";}', '20', '5 MB', '2016-08-10 09:43:25', '2016-08-10 14:58:51', '0000-00-00 00:00:00'),pl.js https://gitlab.com/wuhang2003/core | JavaScript | 127 lines
8 "Sample configuration detected" : "Wykryto przykładową konfigurację", 9 "It has been detected that the sample configuration has been copied. This can break your installation and is unsupported. Please read the documentation before performing changes on config.php" : "Wykryto skopiowanie przykładowej konfiguracji. To może popsuć Twoją instalację i nie jest wspierane. Proszę przeczytać dokumentację przed dokonywaniem zmian w config.php", 10 "PHP %s or higher is required." : "PHP %s lub wyższe jest wymagane.", 10 "PHP %s or higher is required." : "PHP %s lub wyższe jest wymagane.", 11 "PHP with a version lower than %s is required." : "Wersja PHP jest niższa niż %s, która jest wymagana.", 12 "Following databases are supported: %s" : "Obsługiwane są następujące bazy danych: %s", 113 "Please ask your server administrator to install the module." : "Proszę poproś administratora serwera aby zainstalował ten moduł.", 114 "PHP module %s not installed." : "Moduł PHP %s nie jest zainstalowany.", 115 "This is probably caused by a cache/accelerator such as Zend OPcache or eAccelerator." : "Dzieje się tak prawdopodobnie przez cache lub akcelerator taki jak Zend OPcache lub eAccelerator.", 115 "This is probably caused by a cache/accelerator such as Zend OPcache or eAccelerator." : "Dzieje się tak prawdopodobnie przez cache lub akcelerator taki jak Zend OPcache lub eAccelerator.", 116 "PHP modules have been installed, but they are still listed as missing?" : "Moduły PHP zostały zainstalowane, ale nadal brakuje ich na liście?", 117 "Please ask your server administrator to restart the web server." : "Poproś administratora serwera o restart serwera www.",ext_zlib.php https://github.com/soitun/hiphop-php.git | PHP | 393 lines
16/** 17 * ( excerpt from http://php.net/manual/en/function.zlib-encode.php ) 18 * 29/** 30 * ( excerpt from http://php.net/manual/en/function.zlib-decode.php ) 31 * 89 * @param int $encoding_mode - The encoding mode. Can be FORCE_GZIP (the 90 * default) or FORCE_DEFLATE. Prior to PHP 5.4.0, using FORCE_DEFLATE 91 * results in a standard zlib deflated string (inclusive zlib headers) 92 * after a gzip file header but without the trailing crc32 checksum. In 93 * PHP 5.4.0 and later, FORCE_DEFLATE generates RFC 1950 compliant 94 * output, consisting of a zlib header, the deflated data, and an Adler 305 * Note that if the length argument is given, then the 306 * magic_quotes_runtime configuration option will be ignored and no 307 * slashes will be stripped from string.UpdateCoreTest.php https://gitlab.com/geeta7/drupal | PHP | 366 lines
1<?php 2 28 parent::setUp(); 29 $admin_user = $this->drupalCreateUser(array('administer site configuration', 'administer modules', 'administer themes')); 30 $this->drupalLogin($admin_user); 349 public function testLocalActions() { 350 $admin_user = $this->drupalCreateUser(array('administer site configuration', 'administer modules', 'administer software updates', 'administer themes')); 351 $this->drupalLogin($admin_user);ldap.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 322 lines
1<?php 2 4/** 5 * This files is included by newUser.ldap.php and login.ldap.php 6 * It implements the functions nedded by both files 7 * */ 8//Includes the configuration file 9require_once dirname(__FILE__) . '/../../inc/global.inc.php'; 9require_once dirname(__FILE__) . '/../../inc/global.inc.php'; 10require_once dirname(__FILE__) . '/../../inc/conf/auth.conf.php'; 11 136 * Return an array with userinfo compatible with chamilo using $extldap_user_correspondance 137 * configuration array declared in ldap.conf.php file 138 * 139 * @param array ldap user 140 * @param array correspondance array (if not set use extldap_user_correspondance declared in auth.conf.php 141 * @return array userinfo arrayDoctrine.php https://github.com/cizar/glass_onion.git | PHP | 390 lines
1<?php 2 36 */ 37require_once 'Zend/Auth/Result.php'; 38 41 */ 42require_once 'Zend/Auth/Adapter/Interface.php'; 43 115 /** 116 * __construct() - Sets configuration options 117 * 339 */ 340 require_once 'Zend/Auth/Adapter/Exception.php'; 341 throw new Zend_Auth_Adapter_Exception($exception); 359 */ 360 require_once 'Zend/Auth/Adapter/Exception.php'; 361 throw new Zend_Auth_Adapter_Exception('The supplied parameters to'ParamFetcherTest.php https://gitlab.com/cuza/Clinic_Recods | PHP | 440 lines
1<?php 2 28 */ 29class ParamFetcherTest extends \PHPUnit_Framework_TestCase 30{ 107 * @expectedException \InvalidArgumentException 108 * @expectedExceptionMessage No @ParamInterface configuration for parameter 'foo'. 109 */ 341 * @expectedException \InvalidArgumentException 342 * @expectedExceptionMessage No @ParamInterface configuration for parameter 'foobar'. 343 */jCoordinator.class.php https://github.com/foxmask/Booster.git | PHP | 418 lines
1<?php 2/** 18 * this is the "chief orchestra" of the framework. Its goal is 19 * to load the configuration, to get the request parameters 20 * used to instancie the correspondant controllers and to run the right method. 92 93 // load configuration data 94 $gJConfig = jConfig::load($configFile); 101 /** 102 * load the plugins and their configuration file 103 */ 119 if (false === ($conf = parse_ini_file($conff,true))) 120 throw new Exception("Error in the configuration file of plugin $name ($conff)!", 13); 121 } 121 } 122 include( $gJConfig->_pluginsPathList_coord[$name].$name.'.coord.php'); 123 $class= $name.'CoordPlugin';Product.php https://gitlab.com/mvcarvalho/plataforma-e-commerce | PHP | 235 lines
17 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-3" style="padding: 1px;"> 18 <a href="<?php echo(PRODUCTS_IMAGES_URL . $this->pageItems['product']->image);?>"><img class="img-responsive thumbs" src="<?php echo(PRODUCTS_IMAGES_URL . $this->pageItems['product']->image);?>" /></a> 19 </div> 54 <div class="input-group" style="width: 100%"> 55 <label for="select-<?php echo($attribute->id);?>"><?php echo($attribute->name);?></label> 56 <select name="select-<?php echo($attribute->id);?>" class="form-control select" style="border-radius: 0"> 112 <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9" style="0;"> 113 <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo($productLink);?>" onclick="share(this); return false;" target="_blank" title="<?php echo($shareName);?>"> 114 <img src="<?php echo(SITE_URL . 'Images' . DS . 'facebook.png');?>" class="img-responsive" style="display: inline-block; padding: 3px;"> 115 </a> 116 <a href="https://twitter.com/home?status=<?php echo($productLink);?>" onclick="share(this); return false;" target="_blank" title="<?php echo($shareName);?>"> 117 <img src="<?php echo(SITE_URL . 'Images' . DS . 'twitter.png');?>" class="img-responsive" style="display: inline-block; padding: 3px;"> 118 </a> 119 <a href="https://plus.google.com/share?url=<?php echo($productLink);?>" onclick="share(this); return false;" target="_blank" title="<?php echo($shareName);?>"> 120 <img src="<?php echo(SITE_URL . 'Images' . DS . 'google-plus.png');?>" class="img-responsive" style="display: inline-block; padding: 3px;">Ldap.php https://github.com/sgtcarneiro/horde.git | PHP | 379 lines
1<?php 2/** 42 * @param string $user The username. 43 * @param array $params Configuration options: 44 * <pre>PaginatorComponent.php https://gitlab.com/vannh/portal_training | PHP | 393 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @since 2.0.0 12 * @since 2.0.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 30 * 31 * @link http://book.cakephp.org/3.0/en/controllers/components/pagination.html 32 */ 38 * 39 * When calling paginate() these settings will be merged with the configuration 40 * you provide.module.php https://gitlab.com/mucill/majalengka | PHP | 232 lines
1<?php 2/** 36require SB.'admin/default/session.inc.php'; 37require SB.'admin/default/session_check.inc.php'; 38 43 44require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 45require SIMBIO.'simbio_GUI/table/simbio_table.inc.php'; 127 utility::jsAlert(__('All Data Successfully Deleted')); 128 echo '<script type="text/javascript">parent.$(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'?'.$_POST['lastQueryStr'].'\');</script>'; 129 } else { 145 <div class="btn-group"> 146 <a href="<?php echo MWB; ?>system/module.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i> <?php echo __('Modules List'); ?></a> 147 <a href="<?php echo MWB; ?>system/module.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i> <?php echo __('Add New Modules'); ?></a> 148 </div> 149 <form name="search" action="<?php echo MWB; ?>system/module.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 150 <input type="text" name="keywords" size="30" />HTMLPurifier.php https://gitlab.com/rsilveira1987/Expresso | PHP | 292 lines
1<?php 2 42 * 43 * @note There are several points in which configuration can be specified 44 * for HTML Purifier. The precedence of these (from lowest to 47 * -# Invocation: purify($html, $config) 48 * These configurations are entirely independent of each other and 49 * are *not* merged (this behavior may change in the future). 50 * 51 * @todo We need an easier way to inject strategies using the configuration 52 * object. 68 /** 69 * Global configuration object. 70 * @type HTMLPurifier_Config 108 * for all instances of the purifier, if omitted, a default 109 * configuration is supplied (which can be overridden on a 110 * per-use basis).ConfigurationResolverTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 306 lines
1<?php 2 3/* 4 * This file is part of the PHP CS utility. 5 * 13 14use Symfony\CS\ConfigurationResolver; 15use Symfony\CS\Fixer; 21 */ 22class ConfigurationResolverTest extends \PHPUnit_Framework_TestCase 23{ 48 $this->config = $this->getMock('Symfony\CS\ConfigInterface'); 49 $this->resolver = new ConfigurationResolver(); 50 $this->resolverErrorHandler.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 301 lines
1<?php 2/** 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package Cake.Error 17 * @since CakePHP(tm) v 0.10.5.1732 18 * @license http://www.opensource.org/licenses/mit-license.php MIT License 19 */ 46 * This gives you full control over the exception handling process. The class you choose should be 47 * loaded in your app/Config/bootstrap.php, so its available to handle any exceptions. You can 48 * define the handler as any callback type. Using Exception.handler overrides all other exception 105 * @return void 106 * @see http://php.net/manual/en/function.set-exception-handler.php 107 */filter.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 497 lines
1<?php 2/** 11 12JLoader::register('FinderHelperLanguage', JPATH_ADMINISTRATOR . '/components/com_finder/helpers/language.php'); 13 26 * 27 * @param array $options An array of configuration options. [optional] 28 * 41 42 // Get the configuration options. 43 $filterId = array_key_exists('filter_id', $options) ? $options['filter_id'] : null; 245 246 // Get the configuration options. 247 $classSuffix = $options->get('class_suffix', null); 448 449 // Get the configuration options. 450 $classSuffix = $options->get('class_suffix', null);FindingTable.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 395 lines
1<?php 2/** 96 'initiallyVisible' => 97 Fisma::configuration()->getConfig('threat_type') == 'residual_risk' ? true : false, 98 'sortable' => true, 99 'type' => 'enum', 100 'hidden' => Fisma::configuration()->getConfig('threat_type') == 'residual_risk' ? false : true 101 ), 104 'initiallyVisible' => 105 Fisma::configuration()->getConfig('threat_type') == 'threat_level' ? true : false, 106 'sortable' => true, 257 'type' => 'enum', 258 'hidden' => Fisma::configuration()->getConfig('threat_type') == 'residual_risk' ? false : true 259 ), 263 'type' => 'text', 264 'hidden' => Fisma::configuration()->getConfig('threat_type') == 'residual_risk' ? false : true 265 ),cpuinfo.c https://github.com/andikleen/linux-misc.git | C | 421 lines
30 * current state separately. Certain system registers may contain different 31 * values depending on configuration at or after reset. 32 */ 54 [KERNEL_HWCAP_ATOMICS] = "atomics", 55 [KERNEL_HWCAP_FPHP] = "fphp", 56 [KERNEL_HWCAP_ASIMDHP] = "asimdhp",Packaging.php https://github.com/cosmocommerce/magento-mirror.git | PHP | 371 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 47 /** 48 * Configuration for popup window for packaging 49 *database.php https://github.com/enormego/EightPHP.git | PHP | 425 lines
1<?php 2/** 9 * 10 * The above will assume the 'default' configuration from the APPPATH/config/mongo.php file. 11 * Alternatively it may be instantiated with the name and configuration specified as arguments: 18 * 19 * The Mongo_Collection class will gain access to the server by calling the instance method with a configuration name, 20 * so if not using Kohana or the configuration name is not present in the config file then the instance should be created 25 * 26 * If using Kohana, profiling can be enabled/disabled via the configuration or on demand by setting the profiling property. 27 * 82 /** 83 * Get a Mongo_Database instance. Configuration options are: 84 * 91 * 92 * @param string $name The configuration name 93 * @param array $config Pass a configuration array to bypass the Kohana configio.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 342 lines
1<?php 2/* 21 * 22 * This is the File Manager Connector for PHP. 23 118 119 $php_errormsg = '' ; 120 // Enable error tracking to catch the error. 163 164 $sErrorMsg = $php_errormsg ; 165 194 if ( $position === false || $position <> strlen( $sRealPath ) - strlen( $sSelfPath ) ) 195 SendError( 1, 'Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/php/config.php".' ) ; 196 315 316 $sNewFileName = php2phps( $sNewFileName ) ; 317file.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 339 lines
1<?php 2/** 2/** 3 * $Header: /repository/pear/Log/Log/file.php,v 1.46 2006/12/07 04:15:02 jon Exp $ 4 * 12 * 13 * @author Jon Parise <jon@php.net> 14 * @author Roman Neuhauser <neuhauser@bellavista.cz> 17 * 18 * @example file.php Using the file handler. 19 */ 26 */ 27 var $_filename = 'php.log'; 28 93 * @param string $ident The identity string. 94 * @param array $conf The configuration array. 95 * @param int $level Log messages up to and including this level.modrestserver.class.php https://github.com/francisreboucas/revolution.git | PHP | 393 lines
1<?php 2/* 57 * @param modX $modx A reference to the modX object 58 * @param array $config An array of configuration options 59 */ 129 $path .= trim($_REQUEST[$this->config[modRestServer::OPT_REQUEST_VAR]],'/').'/'; 130 $path .= strtolower($_SERVER['REQUEST_METHOD']).'.php'; 131 return $path;fckconfig.js https://github.com/Jonay/proyectinix.git | JavaScript | 316 lines
20 * 21 * Editor configuration settings. 22 * 23 * Follow this link for more information: 24 * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings 25 */ 26 27FCKConfig.CustomConfigurationsPath = '' ; 28 159FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 160FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 161FCKConfig.FirefoxSpellChecker = false ; 270// Custom implementations should just ignore it. 271var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 272var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | pymysql.sql https://github.com/masuman/elgg-1.git | SQL | 370 lines
16 17-- Site configuration. 18CREATE TABLE `prefix_config` ( 290 291-- PHP Session storage 292CREATE TABLE `prefix_users_sessions` (Config.php https://github.com/olegiv/sitellite.git | PHP | 401 lines
17 * @copyright 1997-2005 The PHP Group 18 * @license http://www.php.net/license/3_0.txt PHP License 3.0 19 * @version CVS: $Id: Config.php,v 1.1 2005/07/02 21:12:31 lux Exp $ 36 * @copyright 1997-2005 The PHP Group 37 * @license http://www.php.net/license/3_0.txt PHP License 3.0 38 * @version Release: 1.4.0a12 79first argument is the name of the parameter, an optional second argument 80may be used to tell which configuration layer to look in. Valid configuration 81layers are "user", "system" and "default". If no layer is specified, a value 129 'doc' => '<root path> <filename> 130Create a default configuration file with all directory configuration 131variables set to subdirectories of <root path>, and save it as <filename>. 333 $config->noRegistry(); 334 $config->set('php_dir', $windows ? "$root\\pear\\php" : "$root/pear/php", 'user'); 335 $config->set('data_dir', $windows ? "$root\\pear\\data" : "$root/pear/data");README.md https://github.com/patcon/cookbooks.git | Markdown | 311 lines
50* build-essential 51* php 52 76* `node['nagios']['nrpe']['home']` - home directory of nrpe, default /usr/lib/nagios 77* `node['nagios']['nrpe']['conf_dir']` - location of the nrpe configuration, default /etc/nagios 78* `node['nagios']['nrpe']['url']` - url to retrieve nrpe source 96* `node['nagios']['conf_dir']` - location where main nagios config lives, default "/etc/nagios3" 97* `node['nagios']['config_dir']` - location where included configuration files live, default "/etc/nagios3/conf.d" 98* `node['nagios']['log_dir']` - location of nagios logs, default "/var/log/nagios3" 1695. Installs various packages required for the server. 1706. Sets up some configuration directories. 1717. Moves the package-installed Nagios configuration to a 'dist' directory. 247 248This definition is used to drop in a configuration file in the base Nagios configuration directory's conf.d. This can be used for customized configurations for various services. 249members.lang.php https://bitbucket.org/speedealing/speedealing.git | PHP | 224 lines
1<?php 2/* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com> 214 'Entreprises' => 'Companies', 215 'DOLIBARRFOUNDATION_PAYMENT_FORM' => 'To make your subscription payment using a bank transfer, see page <a target="_blank" href="http://wiki.speedealing.org/index.php/Subscribe#To_subscribe_making_a_bank_transfer">http://wiki.speedealing.org/index.php/Subscribe</a>.<br>To pay using a Credit Card or Paypal, click on button at bottom of this page.<br>', 216 'ErrorBadValueForDate' => 'Erreur : La date de fin d\'adhésion ne doit être ni égale ni inférieure à la date de début.', 218 'AttributeCode' => 'Code de l\'attribut', 219 'OptionalFieldsSetup' => 'Configuration des champs optionnels', 220 'DescADHERENT_MAILMAN_LISTS' => 'Liste(s) à la quelle (auxquelles) inscrire les nouveaux adhérents (séparés par une virgule)',get_infos_spip.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 450 lines
171 $res[$key] = 172 '<dl>' . PHP_EOL . 173 '<df>'._T('gins:chemin_').'</df><dd class"chemin">' . $value['chemin'] . '</dd>' . PHP_EOL . 204 $infos = array( 205 'OS' => php_uname() . ' - ' . (PHP_INT_SIZE * 8).' bits' 206 , 'Apache version' => (function_exists('apache_get_version') ? apache_get_version() : null) 207 , 'Apache modules' => (function_exists('apache_get_modules') ? apache_get_modules() : null) 208 , 'PHP version' => phpversion() 209 , 'SQL version' => gins_sqlversion() 249 ////////// 250 // Les valeurs de configuration PHP (php.ini, ...) 251 $onglet = 'phpconfig'; 415 * @return string résultat interprété taille en octets 416 * @see: http://www.php.net/manual/fr/function.disk-free-space.php#81207 417 * */pagination.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 376 lines
47 48Vous pouvez aussi inclure d'autres options :php:meth:`~Model::find()`, 49comme ``fields``:: 69model. Ça devient alors très simple d'utiliser les component comme 70:php:class:`ContainableBehavior` avec la pagination:: 71 103utilisée par :php:class:`PaginatorHelper` pour la création des liens. 104:php:meth:`PaginatorComponent::paginate()` ajoute aussi 105:php:class:`PaginatorHelper` à la liste des helpers dans votre controller, si 362C'est très simple d'incorporer les fonctionnalités AJAX dans la pagination. 363en utilisant :php:class:`JsHelper` et :php:class:`RequestHandlerComponent` 364vous pouvez facilement ajouter des paginations AJAX à votre application. 375 :title lang=fr: Pagination 376 :keywords lang=fr: order array,query conditions,php class,web applications,headaches,obstacles,complexity,programmers,parameters,paginate,designers,cakephp,satisfaction,developers 377WebDescriptor.java https://github.com/dekellum/jetty.git | Java | 270 lines
9// The Apache License v2.0 is available at 10// http://www.opensource.org/licenses/apache2.0.php 11// You may elect to redistribute this code under either of these licenses. 85 { 86 Class<?> jsp_page = Loader.loadClass(WebXmlConfiguration.class, "javax.servlet.jsp.JspPage"); 87 jsp20xsd = jsp_page.getResource("/javax/servlet/resources/jsp_2_0.xsd");JAASLoginService.java https://github.com/dekellum/jetty.git | Java | 310 lines
9// The Apache License v2.0 is available at 10// http://www.opensource.org/licenses/apache2.0.php 11// You may elect to redistribute this code under either of these licenses. 212 //set up the login context 213 //TODO jaspi requires we provide the Configuration parameter 214 Subject subject = new Subject();SqlBase.php https://gitlab.com/guillaumev/alkarama | PHP | 342 lines
18 * 'default' is used. These may be overridden with explicit 'key' and/or 19 * 'target' configuration keys. In addition, if the configuration key 'database' 20 * is present, it is used as a database connection information array to define 72 */ 73 public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration = NULL) { 74 return new static( 103 if (isset($this->configuration['database_state_key'])) { 104 $this->database = $this->setUpDatabase($this->state->get($this->configuration['database_state_key'])); 105 } 109 else { 110 $this->database = $this->setUpDatabase($this->configuration); 111 } 182 // Valid batch sizes are integers >= 0. 183 if (is_int($this->configuration['batch_size']) && ($this->configuration['batch_size']) >= 0) { 184 $this->batchSize = $this->configuration['batch_size'];actions.class.php https://bitbucket.org/wayfarer/verse.git | PHP | 293 lines
1<?php 2 2 3require_once dirname(__FILE__).'/../lib/moderate_movieGeneratorConfiguration.class.php'; 4require_once dirname(__FILE__).'/../lib/moderate_movieGeneratorHelper.class.php'; 11 * @author Vladimir Droznik <vladimir.droznik@gmail.com> 12 * @version SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $ 13 */ 16 public function executeCreate(sfWebRequest $request) { 17 $this->form = $this->configuration->getForm(); 18 $this->plg_obituary_movie = $this->form->getObject(); 132 133 if (!$this->getUser()->hasCredential($this->configuration->getCredentials($action))) 134 { 202 protected function getFilters() { 203 return $this->getUser()->getAttribute('moderate_media.filters', $this->configuration->getFilterDefaults(), 'admin_module'); 204 }Relyingparty.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 292 lines
1<?php 2/* 108 /** 109 * Get project configuration. (relyingparty.getProjectConfig) 110 * 187 /** 188 * Set project configuration. (relyingparty.setProjectConfig) 189 *Configuration.php git://github.com/thorsten/phpMyFAQ.git | PHP | 486 lines
1<?php 2 3/** 4 * The main class for fetching the configuration, update and delete items. This 5 * class is also a small Dependency Injection Container for phpMyFAQ. 10 * 11 * @package phpMyFAQ 12 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 12 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 13 * @copyright 2006-2021 phpMyFAQ Team 14 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 14 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 15 * @link https://www.phpmyfaq.de 16 * @since 2006-01-04 18 19namespace phpMyFAQ; 20module.php https://github.com/awriel/s3st15_matoa.git | PHP | 230 lines
1<?php 2/** 36require SENAYAN_BASE_DIR.'admin/default/session.inc.php'; 37require SENAYAN_BASE_DIR.'admin/default/session_check.inc.php'; 38 43 44require SIMBIO_BASE_DIR.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 45require SIMBIO_BASE_DIR.'simbio_GUI/table/simbio_table.inc.php'; 130 utility::jsAlert(__('All Data Successfully Deleted')); 131 echo '<script type="text/javascript">parent.$(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'?'.$_POST['lastQueryStr'].'\');</script>'; 132 } else { 143<div class="menuBoxInner moduleIcon"> 144 <?php echo strtoupper(__('Modules')); ?> - <a href="<?php echo MODULES_WEB_ROOT_DIR; ?>system/module.php?action=detail" class="headerText2"><?php echo __('Add New Modules'); ?></a> 145 <a href="<?php echo MODULES_WEB_ROOT_DIR; ?>system/module.php" class="headerText2"><?php echo __('Modules List'); ?></a> 146 <hr /> 147 <form name="search" action="<?php echo MODULES_WEB_ROOT_DIR; ?>system/module.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 148 <input type="text" name="keywords" size="30" />lib.php https://github.com/cmiic/moodle.git | PHP | 494 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 33 * not to use TTL if at all possible and the benefits of having many stores in Redis using the 34 * hash configuration, the hash implementation has been used. 35 * 107 * 108 * @param array $configuration 109 * @return int 110 */ 111 public static function get_supported_modes(array $configuration = array()) { 112 return self::MODE_APPLICATION + self::MODE_SESSION; 123 124 if (!array_key_exists('server', $configuration) || empty($configuration['server'])) { 125 return; 126 } 127 $prefix = !empty($configuration['prefix']) ? $configuration['prefix'] : ''; 128 $this->redis = $this->new_redis($configuration['server'], $prefix);CallbackAbstract.php https://github.com/quarkness/piwik.git | PHP | 308 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: CallbackAbstract.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 25 */ 26// require_once 'Zend/Feed/Pubsubhubbub/CallbackInterface.php'; 27 30 */ 31// require_once 'Zend/Feed/Pubsubhubbub/HttpResponse.php'; 32 82 /** 83 * Process any injected configuration options 84 * 92 } elseif (!is_array($config)) { 93 // require_once 'Zend/Feed/Pubsubhubbub/Exception.php'; 94 throw new Zend_Feed_Pubsubhubbub_Exception('Array or Zend_Config object'CacheTest.php https://github.com/Nervie/Beta.git | PHP | 407 lines
1<?php 2/** 4 * 5 * PHP 5 6 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 15 * @package Cake.Test.Case.Cache 15 * @package Cake.Test.Case.Cache 16 * @since CakePHP(tm) v 1.2.0.5432 17 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 167/** 168 * test that calling config() sets the 'default' configuration up. 169 *Users.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 164 lines
1<?php 2/*+********************************************************************************** 14 'LBL_USER_IMAGE_INFORMATION' => 'User Photograph' , 15 'LBL_CURRENCY_CONFIGURATION' => 'Currency Configuration' , 16 'LBL_ADDRESS_INFORMATION' => 'User Address' , 17 'LBL_USER_ADV_OPTIONS' => 'User Advanced Options' , 18 'Asterisk Configuration' => 'Asterisk Configuration' , 19 'LBL_HOME_PAGE_COMPONENTS' => 'Home Page Components' , // KEY 5.x: LBL_HOME_PAGE_COMPindex.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 365 lines
65<tr> 66<td align="right" colspan="2"><span class="element"><a href="../../sample.reference.html">Sample Reference</a> - <a href="../../schema.reference.html">Schema Reference</a> - <a href="../../config.reference.html">Configuration Reference</a> - <a href="http://jasperreports.sourceforge.net/api/index.html">API (Javadoc)</a></span> 67<br> 89<br> 90<span class="element"><a href="http://jasperforge.org/scm/viewvc.php/tags/jr-3-7-4/jasperreports/demo/samples/csvdatasource/?root=jasperreports" target="_blank">Browse Sample Source Files on SVN</a></span> 91<table cellspacing="0" cellpadding="0" border="0" width="100%">EntityFormDisplayTest.php https://gitlab.com/guillaumev/alkarama | PHP | 266 lines
1<?php 2 11/** 12 * Tests the entity display configuration entities. 13 * 33 // Check that entity_get_form_display() returns a fresh object when no 34 // configuration entry exists. 35 $form_display = entity_get_form_display('entity_test', 'entity_test', 'default');Server.php https://gitlab.com/robfrawley/php-memcached-admin | PHP | 513 lines
1<?php 2/** 5 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 6 * @package phpMemcachedAdmin 7 */ 27 { 28 # Importing configuration 29 self::$_ini = Library_Configuration_Loader::singleton();