PageRenderTime 2133ms queryFilters 1ms Sphinxql 1750ms GetByIds 315ms meta 0ms repositoryFilters 6ms languageFilters 0ms sourceFilters 1ms

1,427,616 results for 'php empty repo:adamanthea/sinister-gaming' (2133 ms)

Source

Language

Repository

v1.php https://github.com/lux/siteforge.git | PHP | 1,539 lines
16 * @copyright  1997-2005 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.1 2005/07/02 21:12:31 lux Exp $
267 * @copyright  1997-2005 The PHP Group
268 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
269 * @version    Release: 1.4.0a12
1011                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1012                    'Error, PHP5 token encountered, analysis should be in PHP5',
1013                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1113                }
1114                if ($d['type'] == 'php' && !empty($d['name'])) {
1115                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1116                        array('index' => $i, 'name' => $d['name']));
1117                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1118                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
Common.php https://github.com/lux/siteforge.git | PHP | 1,552 lines
1<?php
2//
10// | available at through the world-wide-web at                           |
11// | http://www.php.net/license/2_02.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// +----------------------------------------------------------------------+
1064                }
1065                if ($d['type'] == 'php' && !empty($d['name'])) {
1066                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1066                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1067                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1068                    $errors[] = "dependency $i: missing name";
1481        $request .= "Host: $host:$port\r\n".
1482            "User-Agent: PHP/".PHP_VERSION."\r\n";
1483        if ($proxy_host != '' && $proxy_user != '') {
v1.php https://github.com/cbrunet/sitellite.git | PHP | 1,539 lines
16 * @copyright  1997-2005 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.1 2005/07/02 21:12:31 lux Exp $
267 * @copyright  1997-2005 The PHP Group
268 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
269 * @version    Release: 1.4.0a12
1011                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1012                    'Error, PHP5 token encountered, analysis should be in PHP5',
1013                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1113                }
1114                if ($d['type'] == 'php' && !empty($d['name'])) {
1115                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1116                        array('index' => $i, 'name' => $d['name']));
1117                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1118                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
Common.php https://github.com/cbrunet/sitellite.git | PHP | 1,553 lines
1<?php
2//
10// | available at through the world-wide-web at                           |
11// | http://www.php.net/license/2_02.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// +----------------------------------------------------------------------+
1064                }
1065                if ($d['type'] == 'php' && !empty($d['name'])) {
1066                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1066                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1067                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1068                    $errors[] = "dependency $i: missing name";
1481        $request .= "Host: $host:$port\r\n".
1482            "User-Agent: PHP/".PHP_VERSION."\r\n";
1483        if ($proxy_host != '' && $proxy_user != '') {
Common.php https://github.com/radicaldesigns/amp.git | PHP | 2,082 lines
503      case 'provides':
504        if (empty($attribs['type']) || empty($attribs['name'])) {
505          break;
1138        }
1139        if ($d['type'] == 'php' && !empty($d['name'])) {
1140          $warnings[] = "dependency $i: name ignored for php type dependencies";
1140          $warnings[] = "dependency $i: name ignored for php type dependencies";
1141        } elseif ($d['type'] != 'php' && empty($d['name'])) {
1142          $errors[] = "dependency $i: missing name";
1401                 )) {
1402              PEAR::raiseError('Error: PHP5 packages must be packaged by php 5 PEAR');
1403              return false;
1780    $request .= "Host: $host:$port\r\n".
1781      "User-Agent: PHP/".PHP_VERSION."\r\n";
1782    if ($proxy_host != '' && $proxy_user != '') {
v1.php https://github.com/stepheneb/test-from-svn.git | PHP | 1,603 lines
16 * @copyright  1997-2006 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.72 2006/10/31 02:54:41 cellog Exp $
1049                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1050                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1051                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1157                }
1158                if ($d['type'] == 'php' && !empty($d['name'])) {
1159                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1160                        array('index' => $i, 'name' => $d['name']));
1161                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1162                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1164                }
1165                if ($d['type'] == 'php' && empty($d['version'])) {
1166                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://github.com/griphiam/dumb_php.git | PHP | 1,550 lines
16 * @copyright  1997-2005 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.58 2005/09/11 12:17:48 pajoye Exp $
267 * @copyright  1997-2005 The PHP Group
268 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
269 * @version    Release: 1.4.0
1016                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1017                    'Error, PHP5 token encountered, analysis should be in PHP5',
1018                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1118                }
1119                if ($d['type'] == 'php' && !empty($d['name'])) {
1120                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1121                        array('index' => $i, 'name' => $d['name']));
1122                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1123                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
v1.php https://github.com/vojtajina/sitellite.git | PHP | 1,539 lines
16 * @copyright  1997-2005 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.1 2005/07/02 21:12:31 lux Exp $
267 * @copyright  1997-2005 The PHP Group
268 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
269 * @version    Release: 1.4.0a12
1011                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1012                    'Error, PHP5 token encountered, analysis should be in PHP5',
1013                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1113                }
1114                if ($d['type'] == 'php' && !empty($d['name'])) {
1115                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1116                        array('index' => $i, 'name' => $d['name']));
1117                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1118                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
Common.php https://github.com/vojtajina/sitellite.git | PHP | 1,552 lines
1<?php
2//
10// | available at through the world-wide-web at                           |
11// | http://www.php.net/license/2_02.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// +----------------------------------------------------------------------+
1064                }
1065                if ($d['type'] == 'php' && !empty($d['name'])) {
1066                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1066                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1067                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1068                    $errors[] = "dependency $i: missing name";
1481        $request .= "Host: $host:$port\r\n".
1482            "User-Agent: PHP/".PHP_VERSION."\r\n";
1483        if ($proxy_host != '' && $proxy_user != '') {
functions.php https://github.com/neymanna/fusionforge.git | PHP | 4,856 lines
10
11if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER ) &&
12  ! empty ( $_SERVER['PHP_SELF'] ) ) {
14}
15if ( ! empty ( $PHP_SELF ) && preg_match ( "/\/includes\//", $PHP_SELF ) ) {
16    die ( "You can't access this file directly!" );
146// coming from the login.php page.
147if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER['PHP_SELF'] ) )
148  $PHP_SELF = $_SERVER['PHP_SELF']; // backward compatibility
150  $PHP_SELF = ''; // this happens when running send_reminders.php from CL
151if ( ! strstr ( $PHP_SELF, "login.php" ) && ! empty ( $GLOBALS["login"] ) ) {
152  $GLOBALS["login"] = "";
376  if ( empty ( $GLOBALS["server_url"] ) ) {
377    if ( ! empty ( $HTTP_HOST ) && ! empty ( $REQUEST_URI ) ) {
378      $ptr = strrpos ( $REQUEST_URI, "/" );
functions.php https://github.com/mathieu/fusionforge.git | PHP | 4,856 lines
10
11if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER ) &&
12  ! empty ( $_SERVER['PHP_SELF'] ) ) {
14}
15if ( ! empty ( $PHP_SELF ) && preg_match ( "/\/includes\//", $PHP_SELF ) ) {
16    die ( "You can't access this file directly!" );
146// coming from the login.php page.
147if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER['PHP_SELF'] ) )
148  $PHP_SELF = $_SERVER['PHP_SELF']; // backward compatibility
150  $PHP_SELF = ''; // this happens when running send_reminders.php from CL
151if ( ! strstr ( $PHP_SELF, "login.php" ) && ! empty ( $GLOBALS["login"] ) ) {
152  $GLOBALS["login"] = "";
376  if ( empty ( $GLOBALS["server_url"] ) ) {
377    if ( ! empty ( $HTTP_HOST ) && ! empty ( $REQUEST_URI ) ) {
378      $ptr = strrpos ( $REQUEST_URI, "/" );
v1.php https://gitlab.com/BGCX261/zigolive-svn-to-git.git | PHP | 1,618 lines
16 * @copyright  1997-2006 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.73 2007/05/10 00:00:38 cellog Exp $
1049                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1050                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1051                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1157                }
1158                if ($d['type'] == 'php' && !empty($d['name'])) {
1159                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1160                        array('index' => $i, 'name' => $d['name']));
1161                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1162                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1164                }
1165                if ($d['type'] == 'php' && empty($d['version'])) {
1166                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://gitlab.com/jamie/ussocialforum.git | PHP | 1,612 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
functions.php https://gitlab.com/oslc-cm-server/olbergers-ff5-oslc.git | PHP | 5,204 lines
10
11if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER ) &&
12  ! empty ( $_SERVER['PHP_SELF'] ) ) {
14}
15if ( ! empty ( $PHP_SELF ) && preg_match ( "/\/includes\//", $PHP_SELF ) ) {
16    die ( "You can't access this file directly!" );
154// coming from the login.php page.
155if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER['PHP_SELF'] ) )
156  $PHP_SELF = $_SERVER['PHP_SELF']; // backward compatibility
158  $PHP_SELF = ''; // this happens when running send_reminders.php from CL
159if ( ! strstr ( $PHP_SELF, "login.php" ) && ! empty ( $GLOBALS["login"] ) ) {
160  $GLOBALS["login"] = "";
392  if ( empty ( $GLOBALS["server_url"] ) ) {
393    if ( ! empty ( $HTTP_HOST ) && ! empty ( $REQUEST_URI ) ) {
394      $ptr = strrpos ( $REQUEST_URI, "/" );
functions.php https://gitlab.com/oslc-cm-server/olbergers-ff5-oslc.git | PHP | 4,856 lines
10
11if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER ) &&
12  ! empty ( $_SERVER['PHP_SELF'] ) ) {
14}
15if ( ! empty ( $PHP_SELF ) && preg_match ( "/\/includes\//", $PHP_SELF ) ) {
16    die ( "You can't access this file directly!" );
146// coming from the login.php page.
147if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER['PHP_SELF'] ) )
148  $PHP_SELF = $_SERVER['PHP_SELF']; // backward compatibility
150  $PHP_SELF = ''; // this happens when running send_reminders.php from CL
151if ( ! strstr ( $PHP_SELF, "login.php" ) && ! empty ( $GLOBALS["login"] ) ) {
152  $GLOBALS["login"] = "";
376  if ( empty ( $GLOBALS["server_url"] ) ) {
377    if ( ! empty ( $HTTP_HOST ) && ! empty ( $REQUEST_URI ) ) {
378      $ptr = strrpos ( $REQUEST_URI, "/" );
Common.php https://gitlab.com/sergeygalin/phpMyLingvo.git | PHP | 2,037 lines
21
22require_once 'PEAR.php';
23require_once 'Archive/Tar.php';
507            case 'provides':
508                if (empty($attribs['type']) || empty($attribs['name'])) {
509                    break;
1142                }
1143                if ($d['type'] == 'php' && !empty($d['name'])) {
1144                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1144                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1145                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1146                    $errors[] = "dependency $i: missing name";
1736        $request .= "Host: $host:$port\r\n".
1737            "User-Agent: PHP/".PHP_VERSION."\r\n";
1738        if ($proxy_host != '' && $proxy_user != '') {
v1.php https://gitlab.com/yuryja/oneye.git | PHP | 1,612 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://repo.or.cz/bMailZu.git | PHP | 1,600 lines
16 * @copyright  1997-2006 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.69 2006/03/02 18:14:13 cellog Exp $
1041                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1042                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1043                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1149                }
1150                if ($d['type'] == 'php' && !empty($d['name'])) {
1151                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1152                        array('index' => $i, 'name' => $d['name']));
1153                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1154                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1156                }
1157                if ($d['type'] == 'php' && empty($d['version'])) {
1158                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
AkActionController.php https://repo.or.cz/akelos.git | PHP | 2,846 lines
1439        return !empty($options['layout']) ||
1440        (empty($options['text']) && empty($options['file']) && empty($options['inline']) && empty($options['partial']) && empty($options['nothing'])) &&
1441        !$this->_isTemplateExemptFromLayout($this->_getDefaultTemplateName(empty($options['action']) ? $options['template'] : $options['action']));
2057    *   display.tpl
2058    *     <?php if($flash['notice']) : ?><div class='notice'><?php echo $flash['notice'] ?></div><?php endif; ?>
2059    *
2355    {
2356        return (!empty($this->ssl_for_all_actions) && empty($this->_ssl_allowed_actions)) ||
2357        (!empty($this->_ssl_allowed_actions) && is_array($this->_ssl_allowed_actions) && isset($this->_action_name) ?
2771        return
2772        empty($this->Request->env['PHP_AUTH_USER']) ? (
2773        empty($this->Request->env['HTTP_AUTHORIZATION']) ? (
2780        ) : $this->Request->env['HTTP_AUTHORIZATION']
2781        ) : array($this->Request->env['PHP_AUTH_USER'], $this->Request->env['PHP_AUTH_PW']);
2782    }
v1.php https://github.com/forzapiri/dashboard.git | PHP | 1,612 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21