PageRenderTime 802ms queryTime 87ms sortTime 267ms getByIdsTime 97ms findMatchingLines 106ms

100+ results results for 'php system repo:firevic666/v.5' (802 ms)

Not the results you expected?
PHPDOCCodeCompletion.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 239 lines
                    
54import org.netbeans.modules.csl.api.Modifier;
                    
55import org.netbeans.modules.php.editor.PHPCompletionItem.CompletionRequest;
                    
56import org.netbeans.modules.php.editor.index.PHPDOCTagElement;
                    
65import org.netbeans.modules.php.editor.parser.astnodes.TypeDeclaration;
                    
66import org.netbeans.modules.php.project.api.PhpAnnotations;
                    
67import org.netbeans.modules.php.spi.annotation.AnnotationCompletionTag;
                    
83        TokenHierarchy<?> th = request.info.getSnapshot().getTokenHierarchy();
                    
84        TokenSequence<PHPTokenId> phpTS = (th != null) ? LexUtilities.getPHPTokenSequence(th, request.anchor) : null;
                    
85        if (phpTS != null) {
                    
86            phpTS.move(request.anchor);
                    
87            TokenSequence<PHPDocCommentTokenId> tokenSequence = phpTS.moveNext() ? phpTS.embedded(PHPDocCommentTokenId.language()) : null;
                    
88            if (tokenSequence == null) {
                    
153    public static class PHPDOCCodeCompletionItem implements CompletionProposal {
                    
154        private static final String PHP_ANNOTATION_ICON = "org/netbeans/modules/php/editor/resources/annotation.png"; //NOI18N
                    
155        private static final ImageIcon ANNOTATION_ICON = new ImageIcon(ImageUtilities.loadImage(PHP_ANNOTATION_ICON));
                    
                
Session.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 458 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.');
                    
2/**
                    
4 *
                    
5 * $Id: Session.php 3769 2008-12-15 00:48:56Z zombor $
                    
6 *
                    
9 * @copyright  (c) 2007-2008 Kohana Team
                    
10 * @license    http://kohanaphp.com/license.html
                    
11 */
                    
80			// the session cookie(s) can be written.
                    
81			Event::add('system.send_headers', array($this, 'write_close'));
                    
82
                    
275	/**
                    
276	 * Runs the system.session_write event, then calls session_write_close.
                    
277	 *
                    
288			// Run the events that depend on the session being open
                    
289			Event::run('system.session_write');
                    
290
                    
                
Session.php https://github.com/yamamoto123/Ushahidi_Web.git | PHP | 458 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.');
                    
2/**
                    
4 *
                    
5 * $Id: Session.php 3917 2009-01-21 03:06:22Z zombor $
                    
6 *
                    
9 * @copyright  (c) 2007-2008 Kohana Team
                    
10 * @license    http://kohanaphp.com/license.html
                    
11 */
                    
80			// the session cookie(s) can be written.
                    
81			Event::add('system.send_headers', array($this, 'write_close'));
                    
82
                    
275	/**
                    
276	 * Runs the system.session_write event, then calls session_write_close.
                    
277	 *
                    
288			// Run the events that depend on the session being open
                    
289			Event::run('system.session_write');
                    
290
                    
                
bug_revision_api.php https://github.com/fusenigk/mantisbt-1.git | PHP | 360 lines
                    
1<?php
                    
2# Mantis - a php based bugtracking system
                    
3
                    
24 *
                    
25 * @uses constant_inc.php
                    
26 * @uses database_api.php
                    
28
                    
29require_api( 'constant_inc.php' );
                    
30require_api( 'database_api.php' );
                    
128 * Get the name of the type of a bug revision.
                    
129 * @param int $p_revision_id Revision type ID (see constant_inc.php for possible values)
                    
130 * @return string Name of the type of the bug revision
                    
                
image.php https://bitbucket.org/nathanphan/joomla_zjdonation_custom.git | PHP | 310 lines
                    
1<?php
                    
2/**
                    
7 * @copyright	Copyright (C) 2008 - 2011 by Joomseller Solutions. All rights reserved.
                    
8 * @license		http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL, SEE LICENSE.php
                    
9 * This file may not be redistributed in whole or significant part.
                    
55
                    
56		// if phpinfo() is disabled use a specified / fail-safe choice...
                    
57		if (preg_match('/phpinfo/', ini_get('disable_functions'))) {
                    
65		}
                    
66		// ...otherwise use phpinfo().
                    
67		ob_start();
                    
67		ob_start();
                    
68		phpinfo(8);
                    
69		$info = ob_get_contents();
                    
124	function sanitize($base_dir, $filename) {
                    
125		jimport('joomla.filesystem.file');
                    
126
                    
                
OnlineTest.php https://github.com/sidealice/zf2.git | PHP | 286 lines
                    
1<?php
                    
2/**
                    
59
                    
60    public function testChangeReadOnlySystemAttributes()
                    
61    {
                    
                
m_courses.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 329 lines
                    
1<?php
                    
2
                    
319
                    
320	public function get_all_courses($block_system_setting_id)
                    
321	{
                    
324						ORDER BY id";
                    
325		$query = $this->db->query($sql, array($block_system_setting_id));
                    
326		return $query->num_rows() > 0 ? $query->result() : FALSE;
                    
                
event.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 418 lines
                    
1<?php
                    
2/**
                    
4 * @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
5 * @license		GNU/GPL, see LICENSE.php
                    
6 *
                    
10 * other free or open source software licenses.
                    
11 * See COPYRIGHT.php for copyright notices and details.
                    
12 */
                    
15
                    
16require_once( EBLOG_HELPERS . DIRECTORY_SEPARATOR .'helper.php' );
                    
17jimport( 'joomla.filesystem.file' );
                    
24		// Since we only support jomsocial now, load up their form
                    
25		if( JPluginHelper::isEnabled( 'system' , 'eventeasyblog' ) && $this->testExists( 'jomsocial' ) )
                    
26		{
                    
41		// Since we only support jomsocial now, load up their form
                    
42		if( JPluginHelper::isEnabled( 'system' , 'eventeasyblog' ) && $this->testExists( 'jomsocial' ) )
                    
43		{
                    
                
ParticipantStatusType.php https://github.com/michaelmcandrew/vaw.git | PHP | 331 lines
                    
1<?php
                    
2/*
                    
33 */
                    
34require_once 'CRM/Core/DAO.php';
                    
35require_once 'CRM/Utils/Type.php';
                    
107    /**
                    
108     * whether this is a status type required by the system
                    
109     *
                    
                
DefaultProcessor.php https://gitlab.com/mohamed_hussein/prodt | PHP | 291 lines
                    
1<?php
                    
2
                    
152      '#options' => $period,
                    
153      '#description' => t('Requires a correctly configured <a href=":cron">cron maintenance task</a>.', [':cron' => Url::fromRoute('system.status')->toString()]),
                    
154    ];
                    
                
Session.php https://github.com/AlinT/socorro.git | PHP | 458 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
4 *
                    
5 * $Id: Session.php 3231 2008-07-29 07:30:50Z Geert $
                    
6 *
                    
9 * @copyright  (c) 2007-2008 Kohana Team
                    
10 * @license    http://kohanaphp.com/license.html
                    
11 */
                    
80			// the session cookie(s) can be written.
                    
81			Event::add('system.send_headers', array($this, 'write_close'));
                    
82
                    
275	/**
                    
276	 * Runs the system.session_write event, then calls session_write_close.
                    
277	 *
                    
288			// Run the events that depend on the session being open
                    
289			Event::run('system.session_write');
                    
290
                    
                
Api.php https://bitbucket.org/jokusafet/magento2.git | PHP | 277 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 X.commerce, Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
177            if ($item->getLinkFile() && !is_file($file)) {
                    
178                Mage::helper('Mage_Core_Helper_File_Storage_Database')->saveFileToFilesystem($file);
                    
179            }
                    
                
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
39 *
                    
40 * Portions Copyrighted 2012 Sun Microsystems, Inc.
                    
41 */
                    
41 */
                    
42package org.netbeans.modules.php.project.connections.sync.diff;
                    
43
                    
61import org.netbeans.api.diff.StreamSource;
                    
62import org.netbeans.modules.php.api.util.StringUtils;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
64import org.netbeans.modules.php.project.connections.RemoteException;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
66import org.netbeans.modules.php.project.connections.sync.SyncItem;
                    
67import org.netbeans.modules.php.project.connections.transfer.TransferFile;
                    
                
GoogleCode.php https://github.com/joshbhamilton/sugarcrm_dev.git | PHP | 275 lines
                    
36 *
                    
37 * @package    PHPUnit
                    
38 * @subpackage Extensions_TicketListener
                    
39 * @author     Jan Sorgalla <jsorgalla@googlemail.com>
                    
40 * @copyright  2002-2011 Sebastian Bergmann <sebastian@phpunit.de>
                    
41 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
41 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
42 * @link       http://www.phpunit.de/
                    
43 * @since      File available since Release 3.5.0
                    
57 */
                    
58class PHPUnit_Extensions_TicketListener_GoogleCode extends PHPUnit_Extensions_TicketListener
                    
59{
                    
207            'service'     => 'code',
                    
208            'source'      => 'PHPUnit-TicketListener_GoogleCode-' . PHPUnit_Runner_Version::id(),
                    
209        );
                    
                
systemCheck.php https://github.com/joshbhamilton/sugarcrm_dev.git | PHP | 284 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
43 * *******************************************************************************/
                    
44logThis('[At systemCheck.php]');
                    
45
                    
157////	INSTALLER TYPE CHECKS
                    
158$result = checkSystemCompliance();
                    
159$checks = array(
                    
159$checks = array(
                    
160	'phpVersion'				=> $mod_strings['LBL_UW_COMPLIANCE_PHP_VERSION'],
                    
161	'mysqlVersion'				=> $mod_strings['LBL_UW_COMPLIANCE_MYSQL'],
                    
174	$stop = true;
                    
175	$phpIniLocation = get_cfg_var("cfg_file_path");
                    
176
                    
185	}
                    
186	$sysCompliance .= "<tr><td valign='top'>{$mod_strings['LBL_UW_COMPLIANCE_PHP_INI']}</td>";
                    
187	$sysCompliance .= "<td valign='top'><b>{$phpIniLocation}</b></td></tr>";
                    
                
MassSchedule.php https://gitlab.com/gregtyka/opensis | PHP | 205 lines
                    
1<?php
                    
2#**************************************************************************
                    
38			BackPrompt('The date you entered is not valid');
                    
39		$course_mp = DBGet(DBQuery("SELECT MARKING_PERIOD_ID FROM COURSE_PERIODS WHERE COURSE_PERIOD_ID='".$_SESSION['MassSchedule.php']['course_period_id']."'"));
                    
40		$course_mp = $course_mp[1]['MARKING_PERIOD_ID'];
                    
51		$current_RET = DBGet(DBQuery("SELECT STUDENT_ID FROM SCHEDULE WHERE COURSE_PERIOD_ID='".$_SESSION['MassSchedule.php']['course_period_id']."' AND SYEAR='".UserSyear()."' AND (('".$start_date."' BETWEEN START_DATE AND END_DATE OR END_DATE IS NULL) AND '".$start_date."'>=START_DATE)"),array(),array('STUDENT_ID'));
                    
52		$request_RET = DBGet(DBQuery("SELECT STUDENT_ID FROM SCHEDULE_REQUESTS WHERE WITH_PERIOD_ID=(SELECT PERIOD_ID FROM COURSE_PERIODS WHERE COURSE_PERIOD_ID='".$_SESSION['MassSchedule.php']['course_period_id']."') AND SYEAR='".UserSyear()."' AND COURSE_ID='".$_SESSION['MassSchedule.php']['course_id']."'"),array(),array('STUDENT_ID'));
                    
53		$check_seats = DBGet(DBQuery("SELECT  (TOTAL_SEATS - FILLED_SEATS) AS AVAILABLE_SEATS FROM COURSE_PERIODS WHERE COURSE_PERIOD_ID='".$_SESSION['MassSchedule.php']['course_period_id']."'"));
                    
63					$sql = "INSERT INTO SCHEDULE (SYEAR,SCHOOL_ID,STUDENT_ID,COURSE_ID,COURSE_PERIOD_ID,MP,MARKING_PERIOD_ID,START_DATE)
                    
64								values('".UserSyear()."','".UserSchool()."','".$student_id."','".$_SESSION['MassSchedule.php']['course_id']."','".$_SESSION['MassSchedule.php']['course_period_id']."','".$mp_table."','".$_REQUEST['marking_period_id']."','".$start_date."')";
                    
65					DBQuery($sql);
                    
103	{
                    
104		echo "<FORM name=sav id=sav action=Modules.php?modname=$_REQUEST[modname]&modfunc=save method=POST>";
                    
105		#DrawHeader('',SubmitButton('Add Course to Selected Students'));
                    
189		$course_title = $course_title[1]['TITLE'];
                    
190		$period_title = DBGet(DBQuery("SELECT TITLE FROM COURSE_PERIODS WHERE COURSE_PERIOD_ID='".$_SESSION['MassSchedule.php']['course_period_id']."'"));
                    
191		$period_title = $period_title[1]['TITLE'];
                    
                
joindre.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 306 lines
                    
1<?php
                    
2
                    
3/***************************************************************************\
                    
4 *  SPIP, Systeme de publication pour l'internet                           *
                    
5 *                                                                         *
                    
62    if($_SERVER['CONTENT_LENGTH']>0) {
                    
63      $handle = fopen("php://input","rb");
                    
64      $block = fread($handle,4096);
                    
                
Particle3DTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 480 lines
                    
123{
                    
124    ParticleSystem3D *ps = static_cast<ParticleSystem3D *>(this->getChildByTag(PARTICLE_SYSTEM_TAG));
                    
125    if (ps){
                    
128        for (auto iter : children){
                    
129            ParticleSystem3D *child = dynamic_cast<ParticleSystem3D *>(iter);
                    
130            if (child){
                    
155
                    
156    auto rootps = PUParticleSystem3D::create("advancedLodSystem.pu");
                    
157    rootps->setCameraMask((unsigned short)CameraFlag::USER1);
                    
316
                    
317    auto rootps = PUParticleSystem3D::create("electricBeamSystem.pu");
                    
318    rootps->setCameraMask((unsigned short)CameraFlag::USER1);
                    
375
                    
376    auto rootps = PUParticleSystem3D::create("explosionSystem.pu");
                    
377    rootps->setCameraMask((unsigned short)CameraFlag::USER1);
                    
                
PerformanceScenarioTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 438 lines
                    
118        case 2:
                    
119            removeParticleSystem();
                    
120            break;
                    
136        case 2:
                    
137            addParticleSystem(_parsysStepNum);
                    
138            break;
                    
292};
                    
293void ScenarioTest::addParticleSystem(int num)
                    
294{
                    
303        std::string fileName = _particleFiles[idx];
                    
304        auto par = ParticleSystemQuad::create(fileName);
                    
305
                    
427    addNewSprites(caseInfo.spriteCount);
                    
428    addParticleSystem(caseInfo.particleSystemCount);
                    
429    addParticles(caseInfo.particleCount);
                    
                
header.tmpl.php https://github.com/harriswong/ATutor.git | PHP | 237 lines
                    
87			<?php if (get_num_new_messages()): ?>
                    
88				<strong><a href="<?php echo $this->base_path; ?>inbox/index.php"><?php echo _AT('inbox'); ?> - <?php echo get_num_new_messages(); ?></a></strong> | 
                    
89			<?php else: ?>
                    
158				<?php if ($page['url'] == $this->current_top_level_page): ?>
                    
159					<li><a href="<?php echo $page['url']; ?>" <?php echo $accesskey_text; ?> title="<?php echo $page['title'] . $accesskey_title; ?>" class="active"><?php echo $page['title']; ?></a></li>
                    
160				<?php else: ?>
                    
219		<?php if ($this->sequence_links['resume']): ?>
                    
220				<a style="color:white;" href="<?php echo $this->sequence_links['resume']['url']; ?>" accesskey="."><img src="<?php echo $this->img; ?>resume.gif" border="0" title="<?php echo _AT('resume').': '.$this->sequence_links['resume']['title']; ?> Alt+." alt="<?php echo $this->sequence_links['resume']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
                    
221		<?php else:
                    
222			if ($this->sequence_links['previous']): ?>
                    
223				<a href="<?php echo $this->sequence_links['previous']['url']; ?>" title="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," accesskey=","><img src="<?php echo $this->img; ?>previous.gif" border="0" alt="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," class="img-size-ascdesc" /></a>
                    
224			<?php endif;
                    
225			if ($this->sequence_links['next']): ?>
                    
226				<a href="<?php echo $this->sequence_links['next']['url']; ?>" title="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." accesskey="."><img src="<?php echo $this->img; ?>next.gif" border="0" alt="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
                    
227			<?php endif; ?>
                    
                
DoctrineCrudGenerator.php https://gitlab.com/pr0055/symfonypizza | PHP | 297 lines
                    
13
                    
14use Symfony\Component\Filesystem\Filesystem;
                    
15use Symfony\Component\HttpKernel\Bundle\BundleInterface;
                    
40     *
                    
41     * @param Filesystem $filesystem A Filesystem instance
                    
42     * @param string     $rootDir    The root dir
                    
43     */
                    
44    public function __construct(Filesystem $filesystem, $rootDir)
                    
45    {
                    
45    {
                    
46        $this->filesystem = $filesystem;
                    
47        $this->rootDir = $rootDir;
                    
83        if (!file_exists($dir)) {
                    
84            $this->filesystem->mkdir($dir, 0777);
                    
85        }
                    
                
Doctrine.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 260 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Copyright (c) 2011 Endeavor Systems, Inc.
                    
4 *
                    
22 * @author     Mark E. Haase
                    
23 * @copyright  (c) Endeavor Systems, Inc. 2011 {@link http://www.endeavorsystems.com}
                    
24 * @license    http://www.openfisma.org/content/license GPLv3
                    
65        // Default doctrine script name
                    
66        $arguments[0] = 'doctrine.php';
                    
67
                    
106
                    
107        // Check to see if sample data was requested, e.g. `doctrine.php -r sample-data`
                    
108        if ($this->getOption('sample-data')) {
                    
123            $this->getLog()->info("Removing Sample Data build directory");
                    
124            Fisma_FileSystem::recursiveDelete($sampleDataBuildPath);
                    
125        }
                    
                
date_helper.php https://gitlab.com/ricoru21/py_incidencia | PHP | 611 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
46			$now = time();
                    
47			$system_time = mktime(gmdate("H", $now), gmdate("i", $now), gmdate("s", $now), gmdate("m", $now), gmdate("d", $now), gmdate("Y", $now));
                    
48
                    
48
                    
49			if (strlen($system_time) < 10)
                    
50			{
                    
50			{
                    
51				$system_time = time();
                    
52				log_message('error', 'The Date class could not set a proper GMT timestamp so the local time() value was used.');
                    
610/* End of file date_helper.php */
                    
611/* Location: ./system/helpers/date_helper.php */
                    
                
nt-base.h https://bitbucket.org/chyh1990/android-imagemagick.git | C Header | 426 lines
                    
7
                    
8    http://www.imagemagick.org/script/license.php
                    
9
                    
230#if !defined(sysconf)
                    
231#  define sysconf(name)  NTSystemConfiguration(name)
                    
232#endif
                    
391  NTUnmapMemory(void *,size_t),
                    
392  NTSystemCommand(const char *);
                    
393
                    
394extern MagickExport ssize_t
                    
395  NTSystemConfiguration(int),
                    
396  NTTellDirectory(DIR *);
                    
                
packet.cpp https://gitlab.com/iranjith4/hhvm | C++ | 432 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
22
                    
23#include "hphp/system/systemlib.h"
                    
24
                    
                
pico.php https://gitlab.com/Blueprint-Marketing/Pico | PHP | 402 lines
                    
1<?php
                    
2
                    
33        $request_url = (isset($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : '';
                    
34        $script_url = (isset($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : '';
                    
35
                    
37        if ($request_url != $script_url) {
                    
38            $url = trim(preg_replace('/' . str_replace('/', '\/', str_replace('index.php', '', $script_url)) . '/', '',
                    
39                $request_url, 1), '/');
                    
96        Twig_Autoloader::register();
                    
97        $loader = new Twig_Loader_Filesystem(THEMES_DIR . $settings['theme']);
                    
98        $twig = new Twig_Environment($loader, $settings['twig_config']);
                    
128        $this->plugins = array();
                    
129        $plugins = $this->get_files(PLUGINS_DIR, '.php');
                    
130        if (!empty($plugins)) {
                    
325        $request_url = (isset($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : '';
                    
326        $script_url = (isset($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : '';
                    
327        if ($request_url != $script_url) {
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
1<?php
                    
2/**
                    
8 * @author      Philipp Schüle <p.schuele@metaways.de>
                    
9 * @copyright   Copyright (c) 2009-2011 Metaways Infosystems GmbH (http://www.metaways.de)
                    
10 * 
                    
                
pre-check.php https://bitbucket.org/blackriver/openx.git | PHP | 394 lines
                    
38/**
                    
39 * A function to check system settings and display detected problems
                    
40 */
                    
263        $aErrors[] = $errorString1 . 'parse_url' . $errorString2;
                    
264        $isSystemOK = false;
                    
265        if ($return === true) {
                    
322
                    
323    // Check PHP version, as use of PHP < 5.1.4 will result in parse errors
                    
324    $errorMessage = "PHP version 5.1.4, or greater, was not detected.";
                    
338    $phpMemoryLimit = OX_getMemoryLimitSizeInBytes();
                    
339    if ($phpMemoryLimit > 0 && $phpMemoryLimit < $minimumRequiredMemory) {
                    
340        // The memory limit is too low, but can it be increased?
                    
347            $aErrors[] = $errorMessage;
                    
348            $isSystemOK = false;
                    
349            if ($return === true) {
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
145				{
                    
146					$paySystemElement["LOGOTIP"] = CFile::GetFileArray($paySystemElement['LOGOTIP']);
                    
147					$fileTemp = CFile::ResizeImageGet(
                    
298
                    
299		$this->arResult['INNER_ID'] = PaySystem\Manager::getInnerPaySystemId();
                    
300
                    
437
                    
438		$paySystemObject  = PaySystem\Manager::getObjectById((int)$this->arParams['NEW_PAY_SYSTEM_ID']);
                    
439		if (empty($paySystemObject))
                    
488					"PAY_SYSTEM_NAME" => $payment->getField("PAY_SYSTEM_NAME"),
                    
489					"IS_CASH" => $paySystemObject->isCash() || $paySystemObject->getField("ACTION_FILE") === 'cash',
                    
490					"NAME_CONFIRM_TEMPLATE" => $this->arParams['NAME_CONFIRM_TEMPLATE']
                    
506
                    
507					$paySystemBufferedOutput = $paySystemObject->initiatePay($payment, null, PaySystem\BaseServiceHandler::STRING);
                    
508					if ($paySystemBufferedOutput->isSuccess())
                    
                
graph_autoload.php https://github.com/Proudio-Interactive/phpUnderControl.git | PHP | 125 lines
                    
54    'ezcGraphOdometerRenderer'                      => 'Graph/interfaces/odometer_renderer.php',
                    
55    'ezcGraphPalette'                               => 'Graph/interfaces/palette.php',
                    
56    'ezcGraphRadarRenderer'                         => 'Graph/interfaces/radar_renderer.php',
                    
99    'ezcGraphOdometerChartOptions'                  => 'Graph/options/odometer_chart.php',
                    
100    'ezcGraphPaletteBlack'                          => 'Graph/palette/black.php',
                    
101    'ezcGraphPaletteEz'                             => 'Graph/palette/ez.php',
                    
101    'ezcGraphPaletteEz'                             => 'Graph/palette/ez.php',
                    
102    'ezcGraphPaletteEzBlue'                         => 'Graph/palette/ez_blue.php',
                    
103    'ezcGraphPaletteEzGreen'                        => 'Graph/palette/ez_green.php',
                    
105    'ezcGraphPaletteTango'                          => 'Graph/palette/tango.php',
                    
106    'ezcGraphPieChart'                              => 'Graph/charts/pie.php',
                    
107    'ezcGraphPieChartOptions'                       => 'Graph/options/pie_chart.php',
                    
107    'ezcGraphPieChartOptions'                       => 'Graph/options/pie_chart.php',
                    
108    'ezcGraphPolynom'                               => 'Graph/math/polynom.php',
                    
109    'ezcGraphRadarChart'                            => 'Graph/charts/radar.php',
                    
                
fa.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 313 lines
                    
1<?php
                    
2$translations = array(
                    
2$translations = array(
                    
3	// label for database system selection (MySQL, SQLite, ...)
                    
4	'System' => 'سيستم',
                    
16	'No extension' => 'پسوند نامعتبر',
                    
17	'None of the supported PHP extensions (%s) are available.' => ' پسوند پی اچ پی در دسترس نیست (%s) تعداد',
                    
18	'Session support must be enabled.' => 'پشتيباني از نشست بايستي فعال گردد',
                    
19	'Session expired, please login again.' => 'نشست پايان يافته، لطفا دوباره وارد شويد',
                    
20	'%s version: %s through PHP extension %s' => 'نسخه %s : %s توسعه پی اچ پی %s',
                    
21	'Refresh' => 'بازيابي',
                    
                
EsmtpTransportTest.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 298 lines
                    
1<?php
                    
2
                    
66         service extensions and requests that the server provide a list of the
                    
67         extensions it supports.  Older SMTP systems which are unable to
                    
68         support service extensions and contemporary clients which do not
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
115        // set up tabs
                    
116        require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php';
                    
117        CRM_Contribute_Form_ContributionPage_TabHeader::build( $this );
                    
152        if ( !$this->_cancelURL ) {
                    
153            $this->_cancelURL = CRM_Utils_System::url( 'civicrm/admin/contribute', 'reset=1' );
                    
154        }
                    
224            //set defaults for pledgeBlock values.
                    
225            require_once 'CRM/Pledge/BAO/PledgeBlock.php';
                    
226            $pledgeBlockParams = array( 'entity_id'    => $this->_id,
                    
332            if ( $this->controller->getButtonName('submit') == "_qf_{$className}_next" ) {
                    
333                CRM_Utils_System::redirect( CRM_Utils_System::url( "civicrm/admin/contribute/{$subPage}",
                    
334                                                                   "action=update&reset=1&id={$this->_id}" ) );
                    
335            } else {
                    
336                CRM_Utils_System::redirect( CRM_Utils_System::url( "civicrm/admin/contribute", 'reset=1' ) );
                    
337            }
                    
                
EntityScreenManager.php https://bitbucket.org/valmy/openx.git | PHP | 252 lines
                    
1<?php
                    
2
                    
26*/
                    
27require_once OX_MARKET_LIB_PATH . '/OX/oxMarket/Dal/Advertiser.php';
                    
28
                    
58                $oUI->registerStylesheetFile(MAX::constructURL(MAX_URL_ADMIN, 
                    
59                    'plugins/oxMarket/css/ox.market.css.php?v=' . htmlspecialchars($this->oMarketComponent->getPluginVersion()) . '&b=' . $this->oMarketComponent->aBranding['key']));
                    
60                break;
                    
65                $oUI->registerStylesheetFile(MAX::constructURL(MAX_URL_ADMIN, 
                    
66                    'plugins/oxMarket/css/ox.market.css.php?v=' . htmlspecialchars($this->oMarketComponent->getPluginVersion()) . '&b=' . $this->oMarketComponent->aBranding['key']));
                    
67                if (isset($oHeaderModel) && $oEntityHelper->isMarketAdvertiser($pageData['clientid'])) {
                    
67                if (isset($oHeaderModel) && $oEntityHelper->isMarketAdvertiser($pageData['clientid'])) {
                    
68                    $oHeaderModel->setIconClass('iconCampaignsSystemLarge');
                    
69                }
                    
75                if (isset($oHeaderModel)) {
                    
76                    $oHeaderModel->setIconClass('iconCampaignSystemAddLarge');
                    
77                }
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
29$_lang['perm.dashboards_desc'] = 'Benutzerdefinierte Dashboards anzeigen und verwalten.';
                    
30$_lang['perm.database_desc'] = 'Die Systeminformationen-Seite anzeigen.';
                    
31$_lang['perm.database_truncate_desc'] = 'Datenbank-Tabellen leeren.';
                    
89$_lang['perm.menu_support_desc'] = 'Hauptmenüpunkt "Support".';
                    
90$_lang['perm.menu_system_desc'] = 'Hauptmenüpunkt "System" anzeigen.';
                    
91$_lang['perm.menu_tools_desc'] = 'Hauptmenüpunkt "Tools" anzeigen.';
                    
153$_lang['perm.search_desc'] = 'Die Suchfunktion des MODX-Managers benutzen.';  // Such-Seite
                    
154$_lang['perm.settings_desc'] = 'Systemeinstellungen anzeigen und bearbeiten.';
                    
155$_lang['perm.source_delete_desc'] = 'Medienquellen löschen.';
                    
187$_lang['perm.view_snippet_desc'] = 'Snippets anzeigen.';
                    
188$_lang['perm.view_sysinfo_desc'] = 'Die Systeminformationen-Seite anzeigen.';
                    
189$_lang['perm.view_template_desc'] = 'Templates anzeigen.';
                    
                
functions.inc.php https://bitbucket.org/vsposato/vivo-tools.git | PHP | 520 lines
                    
26 * PHP License, version 3.0 or later.  A copy of this license should have
                    
27 * been distributed with this file in the file LICENSE.PHP .  If this is not
                    
28 * the case, you can obtain a copy at http://www.php.net/license/3_0.txt.
                    
72
                    
73  if ( php_sapi_name() !== "cli")
                    
74    echo("</pre>");
                    
91function pre_var_dump($mixed) {
                    
92  if ( php_sapi_name() !== "cli")
                    
93    echo("<pre>");
                    
395 *
                    
396 * @see http://www.php.net/manual/en/function.set-error_handler.php
                    
397 *
                    
506 *
                    
507 * @link http://us.php.net/manual/en/function.sys-get-temp-dir.php#85261
                    
508 */
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
54            'users' => 'Användare',
                    
55            'system' => 'System',
                    
56            'social' => 'Social',
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
207        'title' => 'Hantera uppdateringar',
                    
208        'name' => 'Uppdatera systemet',
                    
209        'menu_label' => 'Uppdateringar',
                    
210        'menu_description' => 'Uppdatera systemet, hantera och installera tillägg och teman.',
                    
211        'return_link' => 'Återgå till systemuppdateringar',
                    
212        'check_label' => 'Sök efter uppdateringar',
                    
314        'name' => 'System',
                    
315        'manage_system_settings' => 'Hantera systeminställningar',
                    
316        'manage_software_updates' => 'Hantera systemuppdateringar',
                    
                
class.evstat.html https://bitbucket.org/thncr/manuals.git | HTML | 359 lines
                    
11 <div class="up"><a href="book.ev.html">Ev</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="class.evstat" class="reference">
                    
21    <strong class="classname">EvStat</strong>
                    
22    monitors a file system path for attribute changes. It calls
                    
23    <em class="emphasis">stat()</em>
                    
357 <div class="up"><a href="book.ev.html">Ev</a></div>
                    
358 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
359</div></body></html>
                    
                
Profiles.php https://gitlab.com/gregtyka/opensis | PHP | 258 lines
                    
30
                    
31include 'Menu.php';
                    
32
                    
65	{
                    
66		$file = 'Students/Student.php&category_id='.$category['ID'];
                    
67		$tmp_menu['Students'][$xprofile][$file] = ' &nbsp; &nbsp; &rsaquo; '.$category['TITLE'];
                    
128PopTable('header','Permissions');
                    
129	echo "<FORM name=pref_form id=pref_form action=Modules.php?modname=$_REQUEST[modname]&modfunc=update&profile_id=$_REQUEST[profile_id] method=POST>";
                    
130	DrawHeaderHome('Select the programs that users of this profile can use and which programs those users can use to save information.');
                    
143		if($_REQUEST['profile_id']!='' && $id==$_REQUEST['profile_id'])
                    
144			echo '<TR id=selected_tr onmouseover="" onmouseout="" bgcolor="'.Preferences('HIGHLIGHT').'"; this.style.color="white";\'><TD width=20 align=right'.$style.'>'.(AllowEdit()&&$id>3?button('remove','',"Modules.php?modname=$_REQUEST[modname]&modfunc=delete&profile_id=$id",20):'').'</TD><TD '.$style.' onclick="document.location.href=\'Modules.php?modname='.$_REQUEST['modname'].'&profile_id='.$id.'\';">';
                    
145		else
                    
145		else
                    
146			echo '<TR onmouseover=\'this.style.backgroundColor="'.Preferences('HIGHLIGHT').'"; this.style.color="white";\' onmouseout=\'this.style.cssText="background-color:transparent; color:black;";\'><TD width=20 align=right'.$style.'>'.(AllowEdit()&&$id>3?button('remove','',"Modules.php?modname=$_REQUEST[modname]&modfunc=delete&profile_id=$id",15):'').'</TD><TD'.$style.' onclick="document.location.href=\'Modules.php?modname='.$_REQUEST['modname'].'&profile_id='.$id.'\';">';
                    
147		echo '<b><a style="cursor: pointer; cursor:hand; text-decoration:none;">'.($id>3?'':'<b>').$profile[1]['TITLE'].($id>3?'':'</b>').'</a></b> &nbsp;';
                    
                
base-admin.class.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 537 lines
                    
1<?php
                    
2/**
                    
22	
                    
23	private static $allowed_views = array('master-view', 'system/validation', 'system/dialog-video', 'system/dialog-update', 'system/dialog-global-settings', 'sliders', 'slider', 'slider_template', 'slides', 'slide', 'navigation-editor', 'slide-editor', 'slide-overview', 'slide-editor', 'slider-overview', 'themepunch-google-fonts');
                    
24	
                    
277			if(!empty(self::$master_view) && !isset(self::$tempVars["is_masterView"]) ){
                    
278				$masterViewFilepath = self::$path_views.self::$master_view.".php";
                    
279				RevSliderFunctions::validateFilepath($masterViewFilepath,"Master View");
                    
285				
                    
286				switch($view){ //switch URLs to corresponding php files
                    
287					case 'slide':
                    
300				
                    
301				$viewFilepath = self::$path_views.$view.".php";
                    
302				
                    
315	protected static function getPathTemplate($templateName){
                    
316		$pathTemplate = self::$path_templates.$templateName.'.php';
                    
317		RevSliderFunctions::validateFilepath($pathTemplate,'Template');
                    
                
mkdist.php https://bitbucket.org/luobailiang/php-src.git | PHP | 548 lines
                    
15
                    
16$dist_dir = $build_dir . "/php-" . phpversion();
                    
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
                    
238	"php.ini-development" => "php.ini-development",
                    
239	"php.ini-production" => "php.ini-production",
                    
240	"win32/install.txt" => "install.txt",
                    
240	"win32/install.txt" => "install.txt",
                    
241	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
                    
242	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
                    
461}
                    
462copy('run-tests.php', $test_dir . '/run-test.php');
                    
463
                    
495
                    
496	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
                    
497	 * broken out of the tarballs */
                    
                
web.php https://github.com/XioNoX/Benevolus.git | PHP | 509 lines
                    
1<?php
                    
2
                    
3/**
                    
4	Web pack for the PHP Fat-Free Framework
                    
5
                    
30	/**
                    
31		Return a URL/filesystem-friendly version of string
                    
32			@return string
                    
205		if ($echo) {
                    
206			if (PHP_SAPI!='cli' && !headers_sent())
                    
207				header(self::HTTP_Content.': '.$mime[$ext[1]].'; '.
                    
295				self::HTTP_Agent.': Mozilla/5.0 '.
                    
296					'(compatible;'.PHP_OS.')'.self::EOL.
                    
297				($reqhdrs?
                    
330					self::$vars['HEADERS'][]=$hdr;
                    
331					if (PHP_SAPI!='cli' && $forward)
                    
332						// Forward HTTP header
                    
                
pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PEAR, the PHP Extension and Application Repository
                    
4 *
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
60    echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini';
                    
61    exit(1);
                    
132// this is used in the error handler to retrieve a relative path
                    
133$_PEAR_PHPDIR = $config->get('php_dir');
                    
134$ui->setConfig($config);
                    
166                );
                    
167                $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php');
                    
168                $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data');
                    
377        return "PEAR Version: ".$GLOBALS['pear_package_version'].
                    
378               "\nPHP Version: ".phpversion().
                    
379               "\nZend Engine Version: ".zend_version().
                    
                
ajouter_documents.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 412 lines
                    
1<?php
                    
2
                    
3/***************************************************************************\
                    
4 *  SPIP, Systeme de publication pour l'internet                           *
                    
5 *                                                                         *
                    
83	// passer en minuscules le nom du fichier, pour eviter les collisions
                    
84	// si le file system fait la difference entre les deux il ne detectera
                    
85	// pas que Toto.pdf et toto.pdf
                    
85	// pas que Toto.pdf et toto.pdf
                    
86	// et on aura une collision en cas de changement de file system
                    
87	$file['name'] = strtolower(translitteration($file['name']));
                    
88	
                    
89	// Pouvoir definir dans mes_options.php que l'on veut titrer tous les documents par d?faut
                    
90	if (!defined('_TITRER_DOCUMENTS')) { define('_TITRER_DOCUMENTS', false); }
                    
207	// ex EXIF qui tourne les images si necessaire
                    
208	// Ce plugin ferait quand même mieux de se placer dans metadata/jpg.php
                    
209	pipeline('post_edition',
                    
                
NetClient.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 629 lines
                    
1<?php
                    
2
                    
187	 */
                    
188	public function capturePhpErrorWithException($iErrNo, $sErrStr, $sErrFile, $iErrLine)
                    
189	{
                    
270
                    
271		\set_error_handler(array(&$this, 'capturePhpErrorWithException'));
                    
272
                    
292				new Exceptions\SocketCanNotConnectToHostException(
                    
293					\MailSo\Base\Utils::ConvertSystemString($sErrorStr), (int) $iErrorNo,
                    
294					'Can\'t connect to host "'.$this->sConnectedHost.':'.$this->iConnectedPort.'"'
                    
                
linear_solver.h https://gitlab.com/Namdhari/cgal-AnatoMeCo | C Header | 478 lines
                    
27 *    YEAR=November 2005,
                    
28 *    URL=http://www.loria.fr/~levy/php/article.php?pub=../publications/papers/2005/Numerics
                    
29 * }
                    
58// Class DefaultLinearSolverTraits
                    
59// is a traits class for solving general sparse linear systems.
                    
60// It uses BICGSTAB solver with Jacobi preconditioner.
                    
89
                    
90    // Solve the sparse linear system "A*X = B"
                    
91    // Return true on success. The solution is then (1/D) * X.
                    
119// Class SymmetricLinearSolverTraits
                    
120// is a traits class for solving symmetric positive definite sparse linear systems.
                    
121// It uses Conjugate Gradient solver with Jacobi preconditioner.
                    
150
                    
151    // Solve the sparse linear system "A*X = B"
                    
152    // Return true on success. The solution is then (1/D) * X.
                    
                
WebformSettingsForm.php https://gitlab.com/guillaumev/alkarama | PHP | 334 lines
                    
1<?php
                    
2
                    
98      '#type' => 'checkbox',
                    
99      '#title' => t('HTML mail system'),
                    
100      '#default_value' => $config->get('email.html_capable'),
                    
100      '#default_value' => $config->get('email.html_capable'),
                    
101      '#description' => t('Whether the mail system configured for webform is capable of sending mail in HTML format.'),
                    
102    );
                    
111      '#default_value' => $config->get('email.default_format'),
                    
112      '#description' => t('The default format for new e-mail settings. Webform e-mail options take precedence over the settings for system-wide e-mails configured in MIME mail.'),
                    
113      '#states' => array(
                    
                
ZMO.php https://github.com/ThiloWitt/core.git | PHP | 548 lines
                    
1<?php
                    
2/**
                    
15/**
                    
16 * Provides a simple gettext replacement that works independently from the system's gettext abilities.
                    
17 *
                    
18 * It can read MO files and use them for translating strings.
                    
19 * The files are passed to gettext_reader as a Stream (see streams.php)
                    
20 *
                    
148        if ($magic == -1794895138 || $magic == 2500072158) {
                    
149            // (int)0x950412de; PHP 5.2 wont convert this properly
                    
150            $this->byteorder = 0;
                    
151        } elseif ($magic == -569244523 || $magic == 3725722773) {
                    
152            // (int)0xde120495; PHP 5.2 wont convert this properly
                    
153            $this->byteorder = 1;
                    
                
loan_system2.sql https://gitlab.com/meltzerpete/gc02 | SQL | 338 lines
                    
1-- phpMyAdmin SQL Dump
                    
2-- version 4.6.4
                    
2-- version 4.6.4
                    
3-- https://www.phpmyadmin.net/
                    
4--
                    
7-- Server version: 5.6.33
                    
8-- PHP Version: 7.0.12
                    
9
                    
19--
                    
20-- Database: `loan_system2`
                    
21--
                    
                
config.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 318 lines
                    
45/*
                    
46 Uncomment lines below to enable PHP error reporting and displaying PHP errors.
                    
47 Do not do this on a production server. Might be helpful when debugging why CKFinder does not work as expected.
                    
222
                    
223	- If "php" is on the denied extensions list, a file named foo.php cannot be
                    
224	  uploaded.
                    
226	  foo.rar.
                    
227	- The file foo.php.rar has "rar" extension so, in theory, it can be also
                    
228	  uploaded.
                    
229
                    
230In some conditions Apache can treat the foo.php.rar file just like any PHP
                    
231script and execute it.
                    
233If CheckDoubleExtension is enabled, each part of the file name after a dot is
                    
234checked, not only the last part. In this way, uploading foo.php.rar would be
                    
235denied, because "php" is on the denied extensions list.
                    
                
Config.php https://bitbucket.org/webpolis/liiv.git | PHP | 514 lines
                    
1<?php
                    
2/*
                    
22 */
                    
23require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php";
                    
24/**
                    
26 */
                    
27require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php";
                    
28/**
                    
30 */
                    
31require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php";
                    
32/**
                    
34 */
                    
35require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php";
                    
36
                    
455        if (isset($GLOBALS['config']['FilesystemEncoding'])) {
                    
456            $this->_filesystemEncoding = (string)$GLOBALS['config']['FilesystemEncoding'];
                    
457        }
                    
                
CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
                    
195        // Vulnerable:
                    
196        // PHP 5.3.0 - PHP 5.3.27
                    
197        // PHP 5.4.0 - PHP 5.4.22
                    
199        if (
                    
200               (PHP_VERSION_ID < 50400 && PHP_VERSION_ID >= 50328)
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
202            || (PHP_VERSION_ID < 50600 && PHP_VERSION_ID >= 50507)
                    
203        ) {
                    
244        // Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415
                    
245        // changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593
                    
246        $cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQVhEVEUwTVRFeU9ERXhNemt6TlZvd2djTXhDekFKQmdOVkJBWVRBa1JGTVJ3d0dnWURWUVFJREJOTwpiM0prY21obGFXNHRWMlZ6ZEdaaGJHVnVNUkF3RGdZRFZRUUhEQWRMdzRQQ3RteHVNUlF3RWdZRFZRUUtEQXRUClpXdDBhVzl1UldsdWN6RWZNQjBHQTFVRUN3d1dUV0ZzYVdOcGIzVnpJRU5sY25RZ1UyVmpkR2x2YmpFaE1COEcKQTFVRUF3d1liV0ZzYVdOcGIzVnpMbk5sYTNScGIyNWxhVzV6TG1SbE1Tb3dLQVlKS29aSWh2Y05BUWtCRmh0egpkR1ZtWVc0dVpYTnpaWEpBYzJWcmRHbHZibVZwYm5NdVpHVXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRRERBZjNobDdKWTBYY0ZuaXlFSnBTU0RxbjBPcUJyNlFQNjV1c0pQUnQvOFBhRG9xQnUKd0VZVC9OYSs2ZnNnUGpDMHVLOURaZ1dnMnRIV1dvYW5TYmxBTW96NVBINlorUzRTSFJaN2UyZERJalBqZGhqaAowbUxnMlVNTzV5cDBWNzk3R2dzOWxOdDZKUmZIODFNTjJvYlhXczROdHp0TE11RDZlZ3FwcjhkRGJyMzRhT3M4CnBrZHVpNVVhd1Raa3N5NXBMUEhxNWNNaEZHbTA2djY1Q0xvMFYyUGQ5K0tBb2tQclBjTjVLTEtlYno3bUxwazYKU01lRVhPS1A0aWRFcXh5UTdPN2ZCdUhNZWRzUWh1K3ByWTNzaTNCVXlLZlF0UDVDWm5YMmJwMHdLSHhYMTJEWAoxbmZGSXQ5RGJHdkhUY3lPdU4rblpMUEJtM3ZXeG50eUlJdlZBZ01CQUFHalFqQkFNQWtHQTFVZEV3UUNNQUF3CkVRWUpZSVpJQVliNFFnRUJCQVFEQWdlQU1Bc0dBMVVkRHdRRUF3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K';
                    
269            count($output) === 3
                    
270            && $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION)
                    
271            && $output[1] === 'string(27) "stefan.esser@sektioneins.de"'
                    
                
CMssqlCommandBuilder.php https://github.com/joshuaswarren/weatherhub.git | PHP | 339 lines
                    
1<?php
                    
2/**
                    
18 * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
                    
19 * @version $Id: CMssqlCommandBuilder.php 3239 2011-05-25 19:05:47Z qiang.xue $
                    
20 * @package system.db.schema.mssql
                    
                
ApiModelFactory.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 283 lines
                    
77	 * 
                    
78	 * @param location absolute path in the local file system to the API component
                    
79	 * @return API component or <code>null</code> if the location specified does not contain a valid
                    
163	 * this file is described here
                    
164	 * <code>http://wiki.eclipse.org/index.php/Execution_Environment_Descriptions</code>.
                    
165	 * </p>
                    
200	 * this file is described here
                    
201	 * <code>http://wiki.eclipse.org/index.php/Execution_Environment_Descriptions</code>.
                    
202	 * </p>
                    
                
HTTP_WebDAV_Server_vCal.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 430 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
42
                    
43require_once 'modules/Calendar/Calendar.php';
                    
44
                    
44
                    
45require_once 'include/HTTP_WebDAV_Server/Server.php';
                    
46
                    
48    /**
                    
49     * Filesystem access using WebDAV
                    
50     *
                    
352            // open input stream
                    
353            $options["stream"] = fopen("php://input", "r");
                    
354            $content = '';
                    
                
file_helper.php https://github.com/Sa-ryong/Stadioom-php.git | PHP | 479 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
109 * Deletes all files contained in the supplied directory path.
                    
110 * Files must be writable or owned by the system in order to be deleted.
                    
111 * If the second parameter is set to TRUE, any directories contained
                    
240
                    
241			// foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast
                    
242			while (FALSE !== ($file = readdir($fp)))
                    
334 *
                    
335 * Translates a file extension into a mime type based on config/mimes.php.
                    
336 * Returns FALSE if it can't determine the type, or open the mime config file
                    
478/* End of file file_helper.php */
                    
479/* Location: ./system/helpers/file_helper.php */
                    
                
tcp_cubic.c https://gitlab.com/karrei/inel-imx6-kernel | C | 497 lines
                    
7 *  "CUBIC: A New TCP-Friendly High-Speed TCP Variant"
                    
8 *  in ACM SIGOPS Operating System Review, July 2008.
                    
9 * Available from:
                    
19 * All testing results are available from:
                    
20 * http://netsrv.csc.ncsu.edu/wiki/index.php/TCP_Testing
                    
21 *
                    
                
yaf.c https://gitlab.com/oytunistrator/yaf | C | 315 lines
                    
74	PHP_INI_ENTRY("yaf.name_separator", 		"",  PHP_INI_ALL, OnUpdateSeparator)
                    
75	STD_PHP_INI_BOOLEAN("yaf.cache_config",    	"0", PHP_INI_SYSTEM, OnUpdateBool, cache_config, zend_yaf_globals, yaf_globals)
                    
76/* {{{ This only effects internally */
                    
78/* }}} */
                    
79	STD_PHP_INI_ENTRY("yaf.environ",        	"product", PHP_INI_SYSTEM, OnUpdateString, environ, zend_yaf_globals, yaf_globals)
                    
80#ifdef YAF_HAVE_NAMESPACE
                    
80#ifdef YAF_HAVE_NAMESPACE
                    
81	STD_PHP_INI_BOOLEAN("yaf.use_namespace",   	"0", PHP_INI_SYSTEM, OnUpdateBool, use_namespace, zend_yaf_globals, yaf_globals)
                    
82#endif
                    
134#endif
                    
135		REGISTER_STRINGL_CONSTANT("YAF_VERSION", PHP_YAF_VERSION, 	sizeof(PHP_YAF_VERSION) - 1, 	CONST_PERSISTENT | CONST_CS);
                    
136		REGISTER_STRINGL_CONSTANT("YAF_ENVIRON", YAF_G(environ),strlen(YAF_G(environ)), 	CONST_PERSISTENT | CONST_CS);
                    
255
                    
256	php_info_print_table_row(2, "Version", PHP_YAF_VERSION);
                    
257	php_info_print_table_row(2, "Supports", YAF_SUPPORT_URL);
                    
                
file.test.php https://github.com/purushoth85/wildflower.git | PHP | 355 lines
                    
9 *
                    
10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
                    
11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
16 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @link          https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
                    
18 * @package       cake
                    
19 * @subpackage    cake.tests.cases.libs.cache
                    
20 * @since         CakePHP(tm) v 1.2.0.5434
                    
21 * @version       $Revision$
                    
29if (!defined('CAKEPHP_UNIT_TEST_EXECUTION')) {
                    
30	define('CAKEPHP_UNIT_TEST_EXECUTION', 1);
                    
31}
                    
100
                    
101		$data = 'this is a test of the emergency broadcasting system';
                    
102		$result = Cache::write('test', $data);
                    
                
BinaryDelta.cs https://github.com/jfcantin/monodevelop.git | C# | 377 lines
                    
7accompanies this distribution, is reproduced below, and is
                    
8available at http://www.eclipse.org/org/documents/edl-v10.php
                    
9
                    
43
                    
44using System;
                    
45using System.Text;
                    
236					}
                    
237					System.Array.Copy(@base, copyOffset, result, resultPtr, copySize);
                    
238					resultPtr += copySize;
                    
246						//
                    
247						System.Array.Copy(delta, deltaPtr, result, resultPtr, cmd);
                    
248						deltaPtr += cmd;
                    
                
IndexController.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 390 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 */
                    
151        $block = $this->getLayout()->createBlock('adminhtml/template')
                    
152            ->setTemplate('system/autocomplete.phtml')
                    
153            ->assign('items', $items);
                    
                
default.php https://github.com/ianmacl/page_objects.git | PHP | 211 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: default.php 20196 2011-01-09 02:40:25Z ian $
                    
4 * @package		Joomla.Administrator
                    
24?>
                    
25<form action="<?php echo JRoute::_('index.php?option=com_modules'); ?>" method="post" name="adminForm" id="adminForm">
                    
26	<fieldset id="filter-bar">
                    
29			<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
                    
30			<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_MODULES_MODULES_FILTER_SEARCH_DESC'); ?>" />
                    
31			<button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
                    
143					<?php if ($canEdit) : ?>
                    
144						<a href="<?php echo JRoute::_('index.php?option=com_modules&task=module.edit&id='.(int) $item->id); ?>">
                    
145							<?php echo $this->escape($item->title); ?></a>
                    
171						<?php $disabled = $saveOrder ?  '' : 'disabled="disabled"'; ?>
                    
172						<input type="text" name="order[]" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" title="<?php echo $item->title; ?> order" />
                    
173					<?php else : ?>
                    
                
function_scope.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 444 lines
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
29#include "hphp/util/hash-map-typedefs.h"
                    
30#include "hphp/parser/parser.h"
                    
31
                    
100  bool isUserFunction() const { return !m_system && !isNative(); }
                    
101  bool isSystem() const { return m_system; }
                    
102  bool isDynamic() const { return m_dynamic; }
                    
309   */
                    
310  void outputPHP(CodeGenerator &cg, AnalysisResultPtr ar) override;
                    
311  /**
                    
                
bcm_umi_nand.c https://bitbucket.org/abdulhadif/android_kernel_samsung_espresso10.git | C | 579 lines
                    
6* under the terms of the GNU General Public License version 2, available at
                    
7* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
                    
8*
                    
33#include <asm/mach-types.h>
                    
34#include <asm/system.h>
                    
35
                    
                
CardDAVBackend.php https://gitlab.com/ElvisAns/tiki | PHP | 309 lines
                    
1<?php
                    
2
                    
19 * This backend is used to store address book data in Tiki MySQL database.
                    
20 * It allows provides support for 2 system-level address books:
                    
21 * 1. webmail contacts
                    
21 * 1. webmail contacts
                    
22 * 2. user system data
                    
23 */
                    
                
Twig.php https://gitlab.com/3dplex/3d-plex-main-site | PHP | 420 lines
                    
1<?php
                    
2<<<<<<< HEAD
                    
104            $language_append = '';
                    
105            if ($language->getDefault() != $active_language || $config->get('system.languages.include_default_lang') === true) {
                    
106                $language_append = $active_language ? '/' . $active_language : '';
                    
108            $path_append = rtrim($this->grav['pages']->base(), '/');
                    
109            if ($language->getDefault() != $active_language || $config->get('system.languages.include_default_lang') === true) {
                    
110                $path_append .= $active_language ? '/' . $active_language : '';
                    
125
                    
126            $this->loader = new \Twig_Loader_Filesystem($this->twig_paths);
                    
127            $this->loaderArray = new \Twig_Loader_Array([]);
                    
129
                    
130            $params = $config->get('system.twig');
                    
131            if (!empty($params['cache'])) {
                    
135                $cachePath = $locator->findResource('cache://twig', true, true);
                    
136                $params['cache'] = new \Twig_Cache_Filesystem($cachePath, \Twig_Cache_Filesystem::FORCE_BYTECODE_INVALIDATION);
                    
137            }
                    
                
Git.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 329 lines
                    
1<?php
                    
2
                    
30    protected $process;
                    
31    /** @var Filesystem */
                    
32    protected $filesystem;
                    
33
                    
34    public function __construct(IOInterface $io, Config $config, ProcessExecutor $process, Filesystem $fs)
                    
35    {
                    
38        $this->process = $process;
                    
39        $this->filesystem = $fs;
                    
40    }
                    
82                if ($initialClone) {
                    
83                    $this->filesystem->removeDirectory($origCwd);
                    
84                }
                    
173
                    
174                    $this->io->writeError('    Authentication required (<info>'.parse_url($url, PHP_URL_HOST).'</info>):');
                    
175                    $auth = array(
                    
                
install.php https://bitbucket.org/bekket/lviveurorent.git | PHP | 394 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: install.php 33 2007-12-19 10:26:16Z andrew.eddie $
                    
4 * @package		joomfish
                    
175		 * ---------------------------------------------------------------------------------------------
                    
176		 * Filesystem Processing Section
                    
177		 * ---------------------------------------------------------------------------------------------
                    
328* ---------------------------------------------------------------------------------------------
                    
329* Execute specific system steps to ensure a consistent installtion
                    
330* ---------------------------------------------------------------------------------------------
                    
350		<tr>
                    
351			<th class="title" colspan="2"><?php echo JText::_('Extension'); ?></th>
                    
352			<th width="30%"><?php echo JText::_('Status'); ?></th>
                    
361		<tr class="row0">
                    
362			<td class="key" colspan="2"><?php echo 'Joom!Fish '.JText::_('Component'); ?></td>
                    
363			<td><strong><?php echo JText::_('Installed'); ?></strong></td>
                    
                
sfConfigCache.class.php https://github.com/bheneka/gitta.git | PHP | 393 lines
                    
1<?php
                    
2
                    
13 * sfConfigCache allows you to customize the format of a configuration file to
                    
14 * make it easy-to-use, yet still provide a PHP formatted result for direct
                    
15 * inclusion into your modules.
                    
43   * @param string $handler The handler to use when parsing a configuration file
                    
44   * @param array  $configs An array of absolute filesystem paths to configuration files
                    
45   * @param string $cache   An absolute filesystem path to the cache file that will be written
                    
139   *
                    
140   * @param string  $configPath A filesystem path to a configuration file
                    
141   * @param boolean $optional   If true, config path does not need to exist
                    
142   *
                    
143   * @return string An absolute filesystem path to the cache filename associated with this specified configuration file
                    
144   *
                    
220   *
                    
221   * @return string An absolute filesystem path to a cache filename
                    
222   */
                    
                
web-sites-digital-marketing-application-solution-overview.md https://gitlab.com/yeah568/azure-content | Markdown | 140 lines
                    
34
                    
35The Azure Marketplace provides templates from the popular website content management systems (CMS), such as Orchard, Umbraco, Drupal, and [WordPress]. You can create a web app using your favorite CMS flavor. You can choose from various database backends to meet your needs, including [Azure SQL Database] and [MySQL].
                    
36
                    
36
                    
37Your existing web assets can run on Web Apps, whether they are .NET, PHP, Java, Node.js, or Python. You can move them to Web Apps using your familiar [FTP] tools. If you frequently create digital marketing campaigns, it is possible that you have existing web assets in a source control management system. You can deploy to Web Apps directly from popular source control options, such as [Visual Studio], [Visual Studio Team Services], and [Git] - local, GitHub, BitBucket, DropBox, Mercurial, etc..
                    
38
                    
98
                    
99[WordPress]:web-sites-php-web-site-gallery.md
                    
100  
                    
100  
                    
101[MySQL]:web-sites-php-mysql-deploy-use-git.md
                    
102[Azure SQL Database]:web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database.md
                    
                
FastExactAutomatonMinimizer.java https://github.com/ryantanner/thesis.git | Java | 319 lines
                    
66  public TransducerGraph minimizeFA(TransducerGraph unminimizedFA) {
                    
67    //    System.out.println(unminimizedFA);
                    
68    this.unminimizedFA = unminimizedFA;
                    
140      if (member != SINK_NODE) {
                    
141        //        System.out.println("putting in memberToBlock: " + member + " " + block);
                    
142        memberToBlock.put(member, block);
                    
186    if (result == null) {
                    
187      System.out.println("No block found for: " + o); // debug
                    
188      System.out.println("But I do have blocks for: ");
                    
189      for (Iterator i = memberToBlock.keySet().iterator(); i.hasNext();) {
                    
190        System.out.println(i.next());
                    
191      }
                    
273    fa.addArc("5",fa.getEndNode(),"c","");
                    
274    System.out.println(fa);
                    
275    ExactAutomatonMinimizer minimizer = new ExactAutomatonMinimizer();
                    
                
ExceptionHandlerAsm.asm https://gitlab.com/envieidoc/Clover | Assembly | 445 lines
                    
5; which accompanies this distribution.  The full text of the license may be found at
                    
6; http://opensource.org/licenses/bsd-license.php.
                    
7;
                    
186    ;
                    
187    ; Align stack to make sure that EFI_FX_SAVE_STATE_IA32 of EFI_SYSTEM_CONTEXT_IA32
                    
188    ; is 16-byte aligned
                    
                
author.php https://gitlab.com/mucill/majalengka | PHP | 264 lines
                    
1<?php
                    
2/**
                    
37require SB.'admin/default/session_check.inc.php';
                    
38require SIMBIO.'simbio_GUI/table/simbio_table.inc.php';
                    
39require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php';
                    
39require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php';
                    
40require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php';
                    
41require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php';
                    
117        utility::jsAlert(__('All Data Successfully Deleted'));
                    
118        echo '<script type="text/javascript">parent.jQuery(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'?'.$_POST['lastQueryStr'].'\');</script>';
                    
119    } else {
                    
135	  <div class="btn-group">
                    
136      <a href="<?php echo MWB; ?>master_file/author.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i>&nbsp;<?php echo __('Author List'); ?></a>
                    
137      <a href="<?php echo MWB; ?>master_file/author.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i>&nbsp;<?php echo __('Add New Author'); ?></a>
                    
138	  </div>
                    
139    <form name="search" action="<?php echo MWB; ?>master_file/author.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> :
                    
140    <input type="text" name="keywords" size="30" />
                    
                
CIU_Loader.php https://github.com/fukata/Study-GooglePlusAPI.git | PHP | 322 lines
                    
1<?php
                    
2
                    
6* Released under the MIT license, see:
                    
7* http://www.opensource.org/licenses/mit-license.php
                    
8*/
                    
225     *
                    
226     * The config/autoload.php file contains an array that permits sub-systems,
                    
227     * libraries, plugins, and helpers to be loaded automatically.
                    
307    * Can load a view file from an absolute path and
                    
308    * relative to the CodeIgniter index.php file
                    
309    * Handy if you have views outside the usual CI views dir
                    
321/* End of file CIU_Loader.php */
                    
322/* Location ./system/application/third_party/CIUnitTest/core/CIU_Loader.php */
                    
                
user_add3.php https://bitbucket.org/droidzone/i-mscp.git | PHP | 456 lines
                    
176		$php, $cgi, $sub, $als, $mail, $ftp, $sql_db, $sql_user, $traff, $disk,
                    
177		$backup, $dns, $software_allowed, $phpini_system, $phpini_al_allow_url_fopen,
                    
178		$phpini_al_display_errors, $phpini_al_disable_functions, $phpini_post_max_size,
                    
261							$php, $cgi, $backup, $dns, $software_allowed,
                    
262							$phpini_system, $phpini_al_allow_url_fopen,
                    
263							$phpini_al_display_errors, $phpini_al_disable_functions, $external_mail));
                    
285		$phpini->setData('phpiniSystem', 'yes');
                    
286		$phpini->setData('phpiniPostMaxSize', $phpini_post_max_size);
                    
287		$phpini->setData('phpiniUploadMaxFileSize', $phpini_upload_max_filesize);
                    
287		$phpini->setData('phpiniUploadMaxFileSize', $phpini_upload_max_filesize);
                    
288		$phpini->setData('phpiniMaxExecutionTime', $phpini_max_execution_time);
                    
289		$phpini->setData('phpiniMaxInputTime', $phpini_max_input_time);
                    
289		$phpini->setData('phpiniMaxInputTime', $phpini_max_input_time);
                    
290		$phpini->setData('phpiniMemoryLimit', $phpini_memory_limit);
                    
291
                    
                
legacy.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 596 lines
                    
1<?php
                    
2/**
                    
101		{
                    
102			jimport('joomla.filesystem.path');
                    
103
                    
156			case 'model':
                    
157				$filename = strtolower($parts['name']) . '.php';
                    
158				break;
                    
181		{
                    
182			jimport('joomla.filesystem.path');
                    
183			$path = JPath::find(self::addIncludePath(null, $prefix), self::_createFileName('model', array('name' => $type)));
                    
                
Filesystem.php https://gitlab.com/pthapa81/MeroSaaman-1.0 | PHP | 573 lines
                    
1<?php
                    
2
                    
2
                    
3namespace League\Flysystem;
                    
4
                    
6use InvalidArgumentException;
                    
7use League\Flysystem\Plugin\PluggableTrait;
                    
8use League\Flysystem\Plugin\PluginNotFoundException;
                    
15 */
                    
16class Filesystem implements FilesystemInterface
                    
17{
                    
340    /**
                    
341     * List the filesystem contents.
                    
342     *
                    
502        $handler->setPath($path);
                    
503        $handler->setFilesystem($this);
                    
504
                    
                
NpgsqlSchema.cs https://github.com/iainlane/mono.git | C# | 286 lines
                    
7//  npgsql-general@gborg.postgresql.org
                    
8//  http://gborg.postgresql.org/project/npgsql/projdisplay.php
                    
9//
                    
24
                    
25using System;
                    
26using System.Data;
                    
26using System.Data;
                    
27using System.Text;
                    
28
                    
                
ContentSource.cs https://github.com/jfcantin/monodevelop.git | C# | 376 lines
                    
7accompanies this distribution, is reproduced below, and is
                    
8available at http://www.eclipse.org/org/documents/edl-v10.php
                    
9
                    
43
                    
44using System;
                    
45using System.IO;
                    
99		/// <returns>the size in bytes.</returns>
                    
100		/// <exception cref="System.IO.IOException">the file cannot be accessed.</exception>
                    
101		public abstract long Size(string path, ObjectId id);
                    
111		/// </returns>
                    
112		/// <exception cref="System.IO.IOException">the file cannot be accessed.</exception>
                    
113		public abstract ObjectLoader Open(string path, ObjectId id);
                    
123
                    
124			/// <exception cref="System.IO.IOException"></exception>
                    
125			public override long Size(string path, ObjectId id)
                    
                
brcm_patchram_plus.c https://github.com/MIPS/system-bluetooth.git | C | 582 lines
                    
13 * 
                    
14 * A copy of the GPL is available at http://www.broadcom.com/licenses/GPLv2.php
                    
15 * or by writing to the Free Software Foundation, Inc.,
                    
45**                 For Android, this program invoked using a 
                    
46**                 "system(2)" call from the beginning of the bt_enable
                    
47**                 function inside the file 
                    
47**                 function inside the file 
                    
48**                 system/bluetooth/bluedroid/bluetooth.c.
                    
49**
                    
49**
                    
50**                 If the Android system property "ro.bt.bcm_bdaddr_path" is
                    
51**                 set, then the bd_addr will be read from this path.
                    
                
PaymentProcessor.php https://github.com/michaelmcandrew/th.git | PHP | 349 lines
                    
1<?php
                    
2
                    
32 * @copyright CiviCRM LLC (c) 2004-2011
                    
33 * $Id: PaymentProcessor.php 9702 2007-05-29 23:57:16Z lobo $
                    
34 *
                    
36
                    
37require_once 'CRM/Admin/Form.php';
                    
38
                    
55
                    
56        CRM_Utils_System::setTitle(ts('Settings - Payment Processor'));
                    
57
                    
72        $this->assign( 'ppType', $this->_ppType );
                    
73        require_once 'CRM/Core/DAO/PaymentProcessorType.php';
                    
74        $this->_ppDAO = new CRM_Core_DAO_PaymentProcessorType( );
                    
81        if ( $this->_id ) {
                    
82            $refreshURL = CRM_Utils_System::url( 'civicrm/admin/paymentProcessor',
                    
83                                                 "reset=1&action=update&id={$this->_id}",
                    
                
model.php https://github.com/keiouu/Evelite.git | PHP | 398 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * Tikapot Model System
                    
4 *
                    
9
                    
10require_once(home_dir . "framework/database.php");
                    
11require_once(home_dir . "framework/model_query.php");
                    
11require_once(home_dir . "framework/model_query.php");
                    
12require_once(home_dir . "framework/model_fields/init.php");
                    
13
                    
                
compare.html https://github.com/trevor/ImageMagick.git | HTML | 338 lines
                    
15  <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
                    
16  <meta name="Generator" content="PHP"/>
                    
17  <meta name="Keywords" content="magickcore, c, api, for, imagemagick:, compare, an, image, to, a, reconstructed, image, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
                    
17  <meta name="Keywords" content="magickcore, c, api, for, imagemagick:, compare, an, image, to, a, reconstructed, image, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
                    
18  <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.  ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems.  The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
                    
19  <meta name="Rating" content="GENERAL"/>
                    
111<div class="menu">
                    
112  <a href="../http://www.imagemagick.org/script/search.php">Search</a>
                    
113</div>
                    
333    <span id="footer-west">&copy; 1999-2010 ImageMagick Studio LLC</span>
                    
334    <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
                    
335  </div>
                    
                
COLLADASWRenderState.h https://bitbucket.org/ZhangJingGuo/opencollada.git | C Header | 222 lines
                    
1/*
                    
2    Copyright (c) 2008-2009 NetAllied Systems GmbH
                    
3
                    
7    for details please see LICENSE file or the website
                    
8    http://www.opensource.org/licenses/mit-license.php
                    
9*/
                    
                
ext_std_output.cpp https://gitlab.com/alvinahmadov2/hhvm | C++ | 309 lines
                    
26#include "hphp/runtime/vm/vm-regs.h"
                    
27#include "hphp/system/constants.h"
                    
28#include "hphp/util/hardware-counter.h"
                    
45const int64_t k_PHP_OUTPUT_HANDLER_STDFLAGS =
                    
46  k_PHP_OUTPUT_HANDLER_CLEANABLE | k_PHP_OUTPUT_HANDLER_FLUSHABLE |
                    
47  k_PHP_OUTPUT_HANDLER_REMOVABLE;
                    
64void HHVM_FUNCTION(ob_clean) {
                    
65  // PHP_OUTPUT_HANDLER_START is included by PHP5
                    
66  g_context->obClean(k_PHP_OUTPUT_HANDLER_START | k_PHP_OUTPUT_HANDLER_CLEAN);
                    
72  g_context->obClean(k_PHP_OUTPUT_HANDLER_START |
                    
73                     k_PHP_OUTPUT_HANDLER_CLEAN |
                    
74                     k_PHP_OUTPUT_HANDLER_END);
                    
288  HHVM_FE(hphp_clear_hardware_events);
                    
289  HHVM_FALIAS(__SystemLib\\print_hashbang, SystemLib_print_hashbang);
                    
290
                    
                
template.php https://bitbucket.org/frazras/higgler.git | PHP | 384 lines
                    
1<?php
                    
2
                    
131  // control page regions (for example, the Block module) are enabled.
                    
132  if (!drupal_static('system_main_content_added', FALSE)) {
                    
133    $vars['content']['system_main'] = drupal_set_page_content();
                    
                
SpecialGlobalGroupPermissions.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 371 lines
                    
1<?php
                    
2# This file is part of MediaWiki.
                    
14 * Special page to allow managing global groups
                    
15 * Prototype for a similar system in core.
                    
16 *
                    
                
CmdHelp.cs https://bitbucket.org/LegoBricker/mchmok.git | C# | 241 lines
                    
10
                    
11    http://www.opensource.org/licenses/ecl2.php
                    
12    http://www.gnu.org/licenses/gpl-3.0.html
                    
28
                    
29	http://www.opensource.org/licenses/ecl2.php
                    
30	http://www.gnu.org/licenses/gpl-3.0.html
                    
38
                    
39using System;
                    
40using System.Collections.ObjectModel;
                    
                
entry.php https://bitbucket.org/crevillo/enetcall.git | PHP | 375 lines
                    
1<?php
                    
2/**
                    
6 * @version //autogentag//
                    
7 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved.
                    
8 * @license http://ez.no/licenses/new_bsd New BSD License
                    
                
EntityRevisionsTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 264 lines
                    
1<?php
                    
2
                    
22  protected static $modules = [
                    
23    'system',
                    
24    'entity_test',
                    
                
index.mustache https://github.com/benjamind/yui3-gallery.git | Mustache | 325 lines
                    
5            function.  A typical JSONP request URL might look like
                    
6            &quot;http://example.com/service.php?callback=handleData&quot; and
                    
7            receive a text response in the form of
                    
15            <code>use(...)</code> callback and is therefore not globally
                    
16            accessible.  The JSONP module provides a proxy system for
                    
17            channeling JSONP responses back into your YUI instance sandbox.
                    
65```
                    
66// instead of service.php?callback=handleJSONP
                    
67var url = "http://example.com/service.php?callback={callback}";
                    
117```
                    
118http://example.com/service.php?callback=YUI.Env.JSONP.yui_3_3_0_1_1294184187597423
                    
119```
                    
206```
                    
207var url     = "http://example.com/service.php?callback={callback}",
                    
208    service = new Y.JSONPRequest(url, {
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
1<?php
                    
2/**
                    
38$_lang['role_desc_authority'] = 'The Authority level of the role. Lower Authority levels are stronger, and inherit the Permissions of Roles with higher authorities in the groups they are assigned to.';
                    
39$_lang['role_desc_name'] = 'A name for the Role, such as Content Editor, Publisher, System Administrator, etc.';
                    
40$_lang['role_desc_description'] = 'A short description of the Role.';
                    
196$_lang['user_upload_message'] = 'If you wish to stop this user uploading any filetypes in this category, make sure that the \'Use Main Configuration Setting\' checkbox is not ticked and leave the field blank.';
                    
197$_lang['user_use_config'] = 'Use System Configuration Setting';
                    
198$_lang['user_username_desc'] = 'The unique identifier of this User, and the name by which they will login to the site.';
                    
                
introduction.tex https://github.com/mut8/r_latex.git | LaTeX | 95 lines
                    
2%\introduction
                    
3%% \introduction[modified heading if necessary]https://www.n3tw0rk.org/search.php?search_id=newposts
                    
4
                    
4
                    
5%Litter decomposition controls nutrient recycling and the release of assimilated carbon. Therefore it is considered a key process in terrestric ecosystems. While controls over decomposition rates -litter chemistry, climate and decomposer comunities - are known and generally accepted, the nature of the chemical transformations involved still remains a black box [lit]. \cite{Prescott2010} emphasises that the amount and chemisty of the humified biomass sequested to soils after litter decomposition might be have a higher impact on carbon cycling than decomposition speed.
                    
6%ev. leachates as input of labile carbon to soils?
                    
91%prescott N deposition 
                    
92%N-addition studys. few studies on stoichiometry in naturally variing systems.
                    
93
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
1<?php
                    
2/**
                    
19 */
                    
20include_once('../../include/Timer.php');
                    
21$starttime = StartLoadTimer();
                    
84        <tr>
                    
85          <td valign="top"><a href="../../index.php"><img name="company" src="/Common/images/company.gif" width="300" height="50" border="0" alt="<?= $language['label']['title1']; ?> Home"></a></td>
                    
86          <td align="right" valign="top">
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
336 */
                    
337include_once('debug/footer.php');
                    
338/**
                    
                
General.php https://bitbucket.org/jokusafet/magento2.git | PHP | 344 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 X.commerce, Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
29 */
                    
30class Mage_Theme_Block_Adminhtml_System_Design_Theme_Edit_Tab_General
                    
31    extends Mage_Backend_Block_Widget_Form
                    
43     *
                    
44     * @return Mage_Theme_Block_Adminhtml_System_Design_Theme_Edit_Tab_General|Mage_Backend_Block_Widget_Form
                    
45     */
                    
78     * @param array $formData
                    
79     * @return Mage_Theme_Block_Adminhtml_System_Design_Theme_Edit_Tab_General
                    
80     */
                    
                
NewFileWizardIterator.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 318 lines
                    
55import org.netbeans.api.project.SourceGroup;
                    
56import org.netbeans.modules.php.project.PhpProject;
                    
57import org.netbeans.modules.php.project.PhpProjectValidator;
                    
123    private void checkPhpProject() {
                    
124        PhpProject phpProject = getPhpProject();
                    
125        if (phpProject == null) {
                    
138        }
                    
139        PhpProject phpProject = getPhpProject();
                    
140        if (phpProject == null) {
                    
245        // #218437
                    
246        PhpProject phpProject = getPhpProject();
                    
247        if (phpProject != null) {
                    
248            // php project found
                    
249            if (groups != null && groups.length == 0 && !PhpProjectValidator.isFatallyBroken(phpProject)) {
                    
250                // sources found but no source roots?!
                    
                
install.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 394 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: install.php 1344 2009-06-18 11:50:09Z akede $
                    
4 * @package		joomfish
                    
175		 * ---------------------------------------------------------------------------------------------
                    
176		 * Filesystem Processing Section
                    
177		 * ---------------------------------------------------------------------------------------------
                    
328* ---------------------------------------------------------------------------------------------
                    
329* Execute specific system steps to ensure a consistent installtion
                    
330* ---------------------------------------------------------------------------------------------
                    
350		<tr>
                    
351			<th class="title" colspan="2"><?php echo JText::_('Extension'); ?></th>
                    
352			<th width="30%"><?php echo JText::_('Status'); ?></th>
                    
361		<tr class="row0">
                    
362			<td class="key" colspan="2"><?php echo 'Joom!Fish '.JText::_('Component'); ?></td>
                    
363			<td><strong><?php echo JText::_('Installed'); ?></strong></td>
                    
                
ManageController.php https://gitlab.com/blingbang2016/shop | PHP | 253 lines
                    
1<?php
                    
2/**
                    
12 ?>
                    
13<?php
                    
14class Magiccart_Magicproduct_Adminhtml_ManageController extends Mage_Adminhtml_Controller_Action
                    
60			$this->_addContent($this->getLayout()->createBlock('magicproduct/adminhtml_manage_edit'))
                    
61				// ->_addLeft($this->getLayout()->createBlock('adminhtml/system_config_switcher'))
                    
62				->_addLeft($this->getLayout()->createBlock('magicproduct/adminhtml_manage_edit_tabs'));
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 382 lines
                    
1<?php
                    
2if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
                    
117				"ACTIVE" => "Y",
                    
118				'IS_SYSTEM' => 'N',
                    
119				'!AUTO_EXECUTE' => CBPDocumentEventType::Automation
                    
                
Index.php https://gitlab.com/tonycodes/october | PHP | 458 lines
                    
1<?php namespace Cms\Controllers;
                    
2
                    
25use Cms\Classes\ComponentPartial;
                    
26use System\Classes\ApplicationException;
                    
27use Backend\Traits\InspectableContainer;
                    
                
enrollees.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 426 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2class Enrollees extends MY_Controller {
                    
24		//PAGINATION
                    
25		$this->view_data['system_message'] = $this->session->flashdata('system_message');
                    
26		
                    
139		
                    
140		$this->view_data['system_message'] = $this->session->flashdata('system_message');
                    
141		
                    
158		
                    
159		$this->view_data['system_message'] = $this->session->flashdata('system_message');
                    
160		
                    
275		if($data['total_rows'] <= 0) {	
                    
276			$this->view_data['system_message'] = '<div class="alert alert-danger">No record to be printed.</div>';
                    
277			return false;
                    
306		
                    
307		$this->view_data['system_message'] = $this->session->flashdata('system_message');
                    
308		
                    
                
StaticTest.php https://github.com/tanduy/zf.git | PHP | 397 lines
                    
38 */
                    
39require_once 'Zend/Config.php';
                    
40
                    
78        } else {
                    
79            $this->markTestIncomplete('Failure to meet type hint results in fatal error in PHP < 5.2.0');
                    
80        }
                    
162    {
                    
163        list($major, $minor, $revision) = explode('.', PHP_VERSION);
                    
164        if ($minor >= 2) {
                    
385        if (self::$_isCaseSensitiveFileSystem === null) {
                    
386            self::$_isCaseSensitiveFileSystem = !(@include 'Test/MyCompany1/iscasespecific.php');
                    
387        }
                    
388
                    
389        return self::$_isCaseSensitiveFileSystem;
                    
390    }
                    
                
Comparator.php https://bitbucket.org/cryofrost/portal.git | PHP | 378 lines
                    
1<?php
                    
2/*
                    
24 *
                    
25 * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
                    
26 * @license http://ez.no/licenses/new_bsd New BSD License
                    
26 * @license http://ez.no/licenses/new_bsd New BSD License
                    
27 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
28 * @link    www.doctrine-project.org
                    
                
dbcreate0.php https://bitbucket.org/simancms/simancms.git | PHP | 321 lines
                    
1<?php
                    
2	
                    
202			$sql = "
                    
203				CREATE TABLE ".$tableprefix."filesystem ( `id_fs` int(11) unsigned NOT NULL auto_increment,   `filename_fs` varchar(255) NULL,   `url_fs` varchar(255) NULL,   `comment_fs` varchar(255) NULL,   PRIMARY KEY (`id_fs`))
                    
204				";
                    
214			$sql = "
                    
215				CREATE TABLE ".$tableprefix."filesystem_regexp (
                    
216				  `id_fsr` int(10) unsigned NOT NULL auto_increment,
                    
243				  `id_log` int(10) unsigned NOT NULL auto_increment,
                    
244				  `object_name` VARCHAR(255)  NOT NULL  DEFAULT 'system',
                    
245				  `object_id` VARCHAR(255)  NOT NULL  DEFAULT '0',
                    
                
ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
                    
1<?php
                    
2
                    
35
                    
36require_once 'CRM/Upgrade/Form.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
38require_once 'CRM/Core/OptionValue.php';
                    
39
                    
42    function verifyPreDBState( &$errorMessage ) {
                    
43        $latestVer  = CRM_Utils_System::version();
                    
44        
                    
94        if (!CRM_Core_DAO::checkFieldExists('civicrm_report_instance', 'description')) {
                    
95            require_once 'CRM/Core/DAO/Domain.php';
                    
96            $domain = new CRM_Core_DAO_Domain;
                    
218
                    
219        require_once 'CRM/Utils/System.php';
                    
220        $docURL = CRM_Utils_System::docURL2( 'Update Greetings and Address Data for Contacts', false, null, null, 'color: white; text-decoration: underline;');
                    
                
Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
                    
1<?php
                    
2
                    
35
                    
36require_once 'CRM/Contact/Page/View.php';
                    
37
                    
94    {
                    
95        require_once 'CRM/Contribute/BAO/Contribution.php';
                    
96
                    
190        if ( $mode == 'test' || $mode == 'live' ) {
                    
191            CRM_Utils_System::redirectToSSL( );
                    
192        }
                    
260        case 'user':
                    
261            $url = CRM_Utils_System::url( 'civicrm/user', 'reset=1' );
                    
262            break;
                    
264        case 'dashboard':
                    
265            $url = CRM_Utils_System::url( 'civicrm/contribute',
                    
266                                          'reset=1' );
                    
                
EventController.php https://github.com/Doap/xoops.git | PHP | 276 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * System admin event controller
                    
4 *
                    
13 * @license         http://www.fsf.org/copyleft/gpl.html GNU public license
                    
14 * @author          Taiwen Jiang <phppp@users.sourceforge.net>
                    
15 * @since           3.0
                    
16 * @category        Xoops_Module
                    
17 * @package         System
                    
18 * @version         $Id$
                    
20
                    
21class System_EventController extends Xoops_Zend_Controller_Action_Admin
                    
22{
                    
27        $modules = XOOPS::service("registry")->modulelist->read("active");
                    
28        $this->setTemplate("system/admin/event_list.html");
                    
29
                    
                
cf_ajaxplorer_content.php https://github.com/umbecr/camilaframework.git | PHP | 228 lines
                    
10   
                    
11   Camila PHP Framework is distributed in the hope that it will be useful,
                    
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
                    
16   You should have received a copy of the GNU General Public License
                    
17   along with Camila PHP Framework; if not, write to the Free Software
                    
18   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
                    
58require_once(CAMILA_LIB_DIR . "ajaxplorer/server/classes/class.AJXP_Utils.php");
                    
59require_once(CAMILA_LIB_DIR . "ajaxplorer/server/classes/class.SystemTextEncoding.php");
                    
60require_once(CAMILA_LIB_DIR . "ajaxplorer/server/classes/class.Repository.php");
                    
60require_once(CAMILA_LIB_DIR . "ajaxplorer/server/classes/class.Repository.php");
                    
61require_once(CAMILA_LIB_DIR . "ajaxplorer/server/classes/class.AJXP_Exception.php");
                    
62require_once(CAMILA_LIB_DIR . "ajaxplorer/server/classes/class.AJXP_Plugin.php");
                    
62require_once(CAMILA_LIB_DIR . "ajaxplorer/server/classes/class.AJXP_Plugin.php");
                    
63require_once(CAMILA_LIB_DIR . "ajaxplorer/server/classes/class.AJXP_PluginsService.php");
                    
64require_once(CAMILA_LIB_DIR . "ajaxplorer/server/classes/class.AbstractAccessDriver.php");
                    
                
ext_zlib.php https://gitlab.com/Blueprint-Marketing/hhvm | PHP | 402 lines
                    
1<?hh
                    
2// @generated by docskel.php
                    
3
                    
15/**
                    
16 * ( excerpt from http://docs.hhvm.com/manual/en/function.zlib-encode.php )
                    
17 *
                    
28/**
                    
29 * ( excerpt from http://docs.hhvm.com/manual/en/function.zlib-decode.php )
                    
30 *
                    
88 * @param int $encoding_mode - The encoding mode. Can be FORCE_GZIP (the
                    
89 *   default) or FORCE_DEFLATE.   Prior to PHP 5.4.0, using FORCE_DEFLATE
                    
90 *   results in a standard zlib deflated string (inclusive zlib headers)
                    
91 *   after a gzip file header but without the trailing crc32 checksum.   In
                    
92 *   PHP 5.4.0 and later, FORCE_DEFLATE generates RFC 1950 compliant
                    
93 *   output, consisting of a zlib header, the deflated data, and an Adler
                    
                
anomaly.h https://bitbucket.org/abdulhadif/android_kernel_samsung_espresso10.git | C Header | 283 lines
                    
9 * Licensed under the ADI BSD license.
                    
10 *   https://docs.blackfin.uclinux.org/doku.php?id=adi_bsd
                    
11 */
                    
28#define ANOMALY_05000119 (1)
                    
29/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
                    
30#define ANOMALY_05000122 (1)
                    
82#define ANOMALY_05000351 (__SILICON_REVISION__ < 1)
                    
83/* bfrom_SysControl() Firmware Function Performs Improper System Reset */
                    
84/*
                    
90#define ANOMALY_05000355 (__SILICON_REVISION__ < 1)
                    
91/* System Stalled During A Core Access To AMC While A Core Access To NFC FIFO Is Required */
                    
92#define ANOMALY_05000356 (__SILICON_REVISION__ < 1)
                    
170#define ANOMALY_05000429 (__SILICON_REVISION__ < 2)
                    
171/* Software System Reset Corrupts PLL_LOCKCNT Register */
                    
172#define ANOMALY_05000430 (__SILICON_REVISION__ >= 2)
                    
                
Ftp.php https://bitbucket.org/ajalovec/gaufrette.git | PHP | 474 lines
                    
1<?php
                    
2
                    
6use Gaufrette\File;
                    
7use Gaufrette\Filesystem;
                    
8use Gaufrette\Exception;
                    
55
                    
56        $temp = fopen('php://temp', 'r+');
                    
57
                    
80
                    
81        $temp = fopen('php://temp', 'r+');
                    
82        $size = fwrite($temp, $content);
                    
224     */
                    
225    public function createFile($key, Filesystem $filesystem)
                    
226    {
                    
228
                    
229        $file = new File($key, $filesystem);
                    
230
                    
                
CMssqlCommandBuilder.php https://bitbucket.org/haichau59/manga.git | PHP | 338 lines
                    
1<?php
                    
2/**
                    
19 * @version $Id$
                    
20 * @package system.db.schema.mssql
                    
21 */
                    
                
SecurityControllerCatalog.php https://bitbucket.org/xsngroup/estadisticas.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
16 */
                    
17require_once "lib/db/Catalog.php";
                    
18require_once "application/models/beans/SecurityController.php";
                    
18require_once "application/models/beans/SecurityController.php";
                    
19require_once "application/models/exceptions/SecurityControllerException.php";
                    
20require_once "application/models/collections/SecurityControllerCollection.php";
                    
20require_once "application/models/collections/SecurityControllerCollection.php";
                    
21require_once "application/models/factories/SecurityControllerFactory.php";
                    
22
                    
77                'name' => $securityController->getName(),
                    
78                'system' => $securityController->getSystem(),             
                    
79            );
                    
160                'name' => $securityController->getName(),
                    
161                'system' => $securityController->getSystem(),             
                    
162            );
                    
                
index.html https://github.com/jlongster/mozilla.com.git | HTML | 261 lines
                    
40  <div id="requirements" class="expander">
                    
41    <h3 class="expander-header">System Requirements</h3>
                    
42    <div class="expander-content">
                    
42    <div class="expander-content">
                    
43      <p>Before installing, make sure your computer meets the <a href="../system-requirements/">
                    
44         system requirements</a>.</p>
                    
52        href="/<?=$lang?>/firefox/all.html">get the latest version of Firefox
                    
53        3.6 here</a>. For builds for other systems and languages not provided
                    
54        by Mozilla, see the Contributed Builds section at the end of this
                    
83           Directory</em> line in <em>Application Basics</em> will open your
                    
84           profile directory in your system's file explorer.</p>
                    
85        <p>Please note that if you keep your profile, any version of Firefox
                    
108        <dl>
                    
109        <dt id="allsystems">All Systems</dt>
                    
110        <dd>
                    
                
tpl_product_free_shipping_info_display.php https://github.com/ZenMagick/zc-base.git | PHP | 238 lines
                    
28 */
                    
29require($template->get_template_dir('/tpl_modules_category_icon_display.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_icon_display.php'); ?>
                    
30<?php } ?>
                    
38 */
                    
39require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?>
                    
40<?php } ?>
                    
50 */
                    
51   require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
                    
52<?php
                    
136 */
                    
137  require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
                    
138<?php
                    
231<!--bof also purchased products module-->
                    
232<?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?>
                    
233<!--eof also purchased products module-->
                    
                
qtypes.php https://github.com/kpike/moodle.git | PHP | 312 lines
                    
1<?php
                    
2
                    
28require_once(dirname(__FILE__) . '/../config.php');
                    
29require_once($CFG->libdir . '/questionlib.php');
                    
30require_once($CFG->libdir . '/adminlib.php');
                    
30require_once($CFG->libdir . '/adminlib.php');
                    
31require_once($CFG->libdir . '/tablelib.php');
                    
32
                    
34require_login();
                    
35$systemcontext = get_context_instance(CONTEXT_SYSTEM);
                    
36require_capability('moodle/question:config', $systemcontext);
                    
36require_capability('moodle/question:config', $systemcontext);
                    
37$canviewreports = has_capability('report/questioninstances:view', $systemcontext);
                    
38
                    
39admin_externalpage_setup('manageqtypes');
                    
40$thispageurl = new moodle_url('/admin/qtypes.php');
                    
41
                    
                
config.php https://bitbucket.org/TorresCastellanosArianaYazmin/ci_sitio.git | PHP | 362 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
23|
                    
24| Typically this will be your index.php file, unless you've renamed it to
                    
25| something else. If you are using mod_rewrite to remove the page set this
                    
28*/
                    
29$config['index_page'] = 'index.php';
                    
30
                    
86|--------------------------------------------------------------------------
                    
87| Enable/Disable System Hooks
                    
88|--------------------------------------------------------------------------
                    
149| invoke your controllers and its functions:
                    
150| example.com/index.php?c=controller&m=function
                    
151|
                    
173|	0 = Disables logging, Error logging TURNED OFF
                    
174|	1 = Error Messages (including PHP errors)
                    
175|	2 = Debug Messages
                    
                
index.md https://github.com/johannes/FOSUserBundle.git | Markdown | 429 lines
                    
8
                    
9So, if you need to persist and fetch the users in your system to and from
                    
10a database, then you're in the right place.
                    
61``` bash
                    
62$ php bin/vendors install
                    
63```
                    
77
                    
78``` php
                    
79<?php
                    
79<?php
                    
80// app/autoload.php
                    
81
                    
91
                    
92``` php
                    
93<?php
                    
                
adodb-session.php https://github.com/md-tech/openemr.git | PHP | 403 lines
                    
1<?php
                    
2/*
                    
8  
                    
9  Latest version of ADODB is available at http://php.weblogs.com/adodb
                    
10  ======================================================================
                    
11  
                    
12 This file provides PHP4 session management using the ADODB database
                    
13wrapper library.
                    
18 	GLOBAL $HTTP_SESSION_VARS;
                    
19	include('adodb.inc.php');
                    
20	include('adodb-session.php');
                    
28 	GLOBAL $HTTP_SESSION_VARS;
                    
29	include('adodb.inc.php');
                    
30	include('adodb-session.php');
                    
69	
                    
70  3. Recommended is PHP 4.0.6 or later. There are documented
                    
71	 session bugs in earlier versions of PHP.
                    
                
auth.php https://github.com/ctham/moodle.git | PHP | 408 lines
                    
48     * @param string $username The username (with system magic quotes)
                    
49     * @param string $password The password (with system magic quotes)
                    
50     * @return bool Authentication success or failure.
                    
53        $this->connectCAS();
                    
54        return phpCAS::isAuthenticated() && (trim(moodle_strtolower(phpCAS::getUser())) == $username);
                    
55    }
                    
140        if (!phpCAS::isAuthenticated()) {
                    
141            phpCAS::setLang($this->config->language);
                    
142            phpCAS::forceAuthentication();
                    
167        if (!is_object($PHPCAS_CLIENT)) {
                    
168            // Make sure phpCAS doesn't try to start a new PHP session when connecting to the CAS server.
                    
169            if ($this->config->proxycas) {
                    
194
                    
195        if (!function_exists('ldap_connect')) { // Is php-ldap really there?
                    
196            echo $OUTPUT->notification(get_string('auth_ldap_noextension', 'auth_ldap'));
                    
                
CachePdo.html https://github.com/TimBroddin/MegaCache.git | HTML | 367 lines
                    
23	<div class="info-box-body">
                    
24        		<!-- ========== Info from phpDoc block ========= -->
                    
25<p class="short-description">CachePdo class.</p>
                    
25<p class="short-description">CachePdo class.</p>
                    
26<p class="description"><p>Uses the PDO extension which makes it possible to connect to a number of different database systems.  Only tested against MySQL but should work on others</p></p>
                    
27	<ul class="tags">
                    
31		<p class="notes">
                    
32			Located in <a class="field" href="_adapters---CachePdo.php.html">/adapters/CachePdo.php</a> (line <span class="field">20</span>)
                    
33		</p>
                    
139	
                    
140	<!-- ========== Info from phpDoc block ========= -->
                    
141<p class="short-description">__construct function.</p>
                    
363	<p class="notes" id="credit">
                    
364		Documentation generated on Sat, 30 Oct 2010 10:42:46 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
                    
365	</p>
                    
                
 

Source

Language