PageRenderTime 969ms queryFilters 0ms Sphinxql 125ms app.CodeModel.GetByIds 809ms findMatchingLines 19ms GetByIds 828ms meta 0ms repositoryFilters 14ms languageFilters 15ms sourceFilters 5ms

179,044 results for 'php log repo:skuda/rsslounge' (969 ms)

Source

Language

Repository

setup.php https://github.com/studio-v/nano.git | PHP | 48 lines
1<?php
2
6
7echo 'Setting up', PHP_EOL;
8$root = realPath(__DIR__ . '/../application/settings') . DIRECTORY_SEPARATOR;
9$env  = isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : 'dev';
10fromTo('env.php', $root . 'env.php');
11file_put_contents($root . 'env.php', '<?php $config = \'' . $env . '\';');
12
13require dirName(__DIR__) . '/library/Nano.php';
14
16	  'db.php'        => 'db.php'
17	, 'log.php'       => 'log.php'
18	, 'selenium.php'  => 'selenium.php'
19	, 'web.php'       => 'web.php'
20	, 'assets.php'    => 'assets.php'
21	, 'plugins.php'   => 'plugins.php'
build.xml https://github.com/hoschi/tkl-symfony.git | Ant | 116 lines
4		<fileset id="src" dir=".">
5			<include name="**/*.php" />
6			<exclude name="apps/frontend/lib/myUser.class.php" />
21		    <mkdir dir="../build/" />
22		    <mkdir dir="../build/logs" />
23			<mkdir dir="../build/reports" />
26		    <mkdir dir="cache" />
27		    <mkdir dir="log" />
28			<chmod mode="0775" failonerror="false">
38		    <mkdir dir="cache" />
39		    <mkdir dir="log" />
40			<phingcall target="update-symfony"/>
106		<target name="test-unit-php" depends="init">
107			<exec command="phpunit --configuration phpunit-unit.xml --coverage-html ../build/coverage-unit --coverage-clover  ../build/coverage-unit/clover.xml --log-junit ../build/logs/phpunit-unit.xml test/unit/ | tee ../build/logs/test-unit-php.log" passthru="${verbose}">
108			</exec>
application.ini https://github.com/markizano/markizano.git | Unknown | 201 lines
12bootstrap.class                                                                 = "Bootstrap"
13bootstrap.path                                                                  = DIR_APPLICATION "Bootstrap.php"
14
17;--------------------------------------------------------------------------------------
18phpSettings.date.timezone                                                       = "America/New_York"
19phpSettings.log_errors                                                          = true
19phpSettings.log_errors                                                          = true
20phpSettings.error_log                                                           = BASE_DIR "cache/logs/php.log"
21phpSettings.ignore_repeated_errors                                              = true
21phpSettings.ignore_repeated_errors                                              = true
22phpSettings.ignore_repeated_source                                              = 1
23phpSettings.upload_tmp_dir                                                      = BASE_DIR "cache/uploads"
109resources.log.standard.writerName                                               = "Stream"
110resources.log.standard.writerParams.stream                                      = BASE_DIR "cache/logs/standard.log"
111resources.log.standard.formatterName                                            = "Simple"
index.php https://github.com/armitage/poMMo.git | PHP | 209 lines
1<?php
2/**
26Pommo::init(array('authLevel' => 0));
27$logger = Pommo::$_logger;
28
35//	log the user out if requested
36if (isset($_GET['logout']))
37{
44{
45	// If user is authenticated (has logged in), redirect to admin.php
46	Pommo::redirect(Pommo::$_http . Pommo::$_baseUrl . 'admin.php');
75	{
76		$logger->addMsg(Pommo::_T('Failed login attempt. Try again.'));
77	}
170			$string = '<?php die(); /* DO NOT REMOVE THIS LINE! */ ?>'.
171					PHP_EOL.PHP_EOL
172					.'[db_hostname] = '.$_POST['dbhost'].PHP_EOL
conjure.html https://gitlab.com/ImageMagick/ImageMagick.git | HTML | 1,135 lines
13  <meta name="application-url" content="http://www.imagemagick.org"/>
14  <meta name="generator" content="PHP"/>
15  <meta name="keywords" content="command-line, tools:, conjure, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
42      <a class="magick-nav-item " href="../index.php">Home</a>
43      <a class="magick-nav-item " href="binary-releases.php">Download</a>
44      <a class="magick-nav-item " href="command-line-tools.php">Tools</a>
44      <a class="magick-nav-item " href="command-line-tools.php">Tools</a>
45      <a class="magick-nav-item " href="command-line-processing.php">Command-line</a>
46      <a class="magick-nav-item " href="resources.php">Resources</a>
54<div class="magick-header">
55<p class="text-center"><a href="conjure.php#usage">Example Usage</a> • <a href="conjure.php#options">Option Summary</a> • <a href="conjure.php#msl">Magick Scripting Language (MSL)</a> </p>
56
160  <tr>
161    <td><a href="command-line-options.php#log">-log <var>format</var></a></td>
162    <td>format of debugging information</td>
core.php https://github.com/ianloic/wordpress-ianloic.git | PHP | 204 lines
25
26@include_once('Log.php');                   // Try loading PEAR_Log from normal include_path.  
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of 
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of 
28	require_once('OpenIDLog.php');          // PEAR_Log bundled with the plugin
29}
72			add_action( 'wp_authenticate', array( $this->logic, 'wp_authenticate' ) ); // openid loop start
73			add_action( 'init', array( $this->logic, 'finish_login' ) ); // openid loop done
74
150if (isset($wp_version)) {
151	#$wpopenid_log = &Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'WPOpenID');
152	$wpopenid_log = &Log::singleton('file', ABSPATH . get_option('upload_path') . '/php.log', 'WPOpenID');
155	$wpopenid_log_level = constant('PEAR_LOG_' . strtoupper(WPOPENID_LOG_LEVEL));
156	$wpopenid_log->setMask(Log::UPTO($wpopenid_log_level));
157
core.php https://github.com/exploradoreselectronicos/pressmark.git | PHP | 203 lines
25
26@include_once('Log.php');                   // Try loading PEAR_Log from normal include_path.  
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of 
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of 
28	require_once('OpenIDLog.php');          // PEAR_Log bundled with the plugin
29}
72			add_action( 'wp_authenticate', array( $this->logic, 'wp_authenticate' ) ); // openid loop start
73			add_action( 'init', array( $this->logic, 'finish_login' ) ); // openid loop done
74
149if (isset($wp_version)) {
150	#$wpopenid_log = &Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'WPOpenID');
151	$wpopenid_log = &Log::singleton('file', ABSPATH . get_option('upload_path') . '/php.log', 'WPOpenID');
154	$wpopenid_log_level = constant('PEAR_LOG_' . strtoupper(WPOPENID_LOG_LEVEL));
155	$wpopenid_log->setMask(Log::UPTO($wpopenid_log_level));
156
core.php https://github.com/versvs/pressmark.git | PHP | 204 lines
25
26@include_once('Log.php');                   // Try loading PEAR_Log from normal include_path.  
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of 
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of 
28	require_once('OpenIDLog.php');          // PEAR_Log bundled with the plugin
29}
72			add_action( 'wp_authenticate', array( $this->logic, 'wp_authenticate' ) ); // openid loop start
73			add_action( 'init', array( $this->logic, 'finish_login' ) ); // openid loop done
74
149if (isset($wp_version)) {
150	#$wpopenid_log = &Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'WPOpenID');
151	$wpopenid_log = &Log::singleton('file', ABSPATH . get_option('upload_path') . '/php.log', 'WPOpenID');
154	$wpopenid_log_level = constant('PEAR_LOG_' . strtoupper(WPOPENID_LOG_LEVEL));
155	$wpopenid_log->setMask(Log::UPTO($wpopenid_log_level));
156
core.php https://github.com/Mercedes/ratonesytortillas.git | PHP | 204 lines
25
26@include_once('Log.php');                   // Try loading PEAR_Log from normal include_path.  
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of 
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of 
28	require_once('OpenIDLog.php');          // PEAR_Log bundled with the plugin
29}
72			add_action( 'wp_authenticate', array( $this->logic, 'wp_authenticate' ) ); // openid loop start
73			add_action( 'init', array( $this->logic, 'finish_login' ) ); // openid loop done
74
150if (isset($wp_version)) {
151	#$wpopenid_log = &Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'WPOpenID');
152	$wpopenid_log = &Log::singleton('file', ABSPATH . get_option('upload_path') . '/php.log', 'WPOpenID');
155	$wpopenid_log_level = constant('PEAR_LOG_' . strtoupper(WPOPENID_LOG_LEVEL));
156	$wpopenid_log->setMask(Log::UPTO($wpopenid_log_level));
157
core.php https://github.com/alx/alexgirard.com-blog.git | PHP | 203 lines
25
26@include_once('Log.php');                   // Try loading PEAR_Log from normal include_path.
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of
28	require_once('OpenIDLog.php');          // PEAR_Log bundled with the plugin
29}
54		$this->log = &Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'OpenID');
55		//$this->log = &Log::singleton('file', ABSPATH . get_option('upload_path') . '/php.log', 'WPOpenID');
56
58		$wpopenid_log_level = constant('PEAR_LOG_' . strtoupper(WPOPENID_LOG_LEVEL));
59		$this->log->setMask(Log::UPTO($wpopenid_log_level));
60	}
133
134// add OpenID input field to wp-login.php
135add_action( 'login_form', array( 'WordPressOpenID_Interface', 'login_form'));
core.php https://github.com/cuano/pressmark.git | PHP | 202 lines
25
26@include_once('Log.php');                   // Try loading PEAR_Log from normal include_path.
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of
27if (!class_exists('Log')) {                 // If we can't find it, include the copy of
28	require_once('OpenIDLog.php');          // PEAR_Log bundled with the plugin
29}
54		$this->log = &Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'OpenID');
55		//$this->log = &Log::singleton('file', ABSPATH . get_option('upload_path') . '/php.log', 'WPOpenID');
56
58		$wpopenid_log_level = constant('PEAR_LOG_' . strtoupper(WPOPENID_LOG_LEVEL));
59		$this->log->setMask(Log::UPTO($wpopenid_log_level));
60	}
133
134// add OpenID input field to wp-login.php
135add_action( 'login_form', array( 'WordPressOpenID_Interface', 'login_form'));
log.php https://gitlab.com/webservers/codeigniter_mobile_dev_server.git | PHP | 52 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2include_once('base.php');
10//if session is inactive, default would've been 7200 and automatic
11//but I wanted to save the UserAgent etc for binding to Logs
12//without the need for a seperate table.
15// I could also Parse Out this users session that accesses the Admin Page
16// but would like to find a solution that allows mobile web Access as well as App Logging.
17
17
18// $this->log_Model->getSessionEquals();
19//----------------------------------------------
20	//Show Session Table provides access/sessions based on session config
21	//http://localhost/index.php/log/gCrudAccess
22    public function gCrudAccess($output = null){
35	//show Log Table, shows data for actual Logs made
36	//http://localhost/index.php/log/gCrudLog 
37    public function gCrudLog($output = null){
README.md git://github.com/Codeception/Codeception.git | Markdown | 240 lines
4
5[See Source](https://github.com/Codeception/Codeception/blob/4.0/ext/DotReporter.php)
6
40
41[See Source](https://github.com/Codeception/Codeception/blob/4.0/ext/Logger.php)
42
42
43Log suites/tests/steps using Monolog library.
44Monolog should be installed additionally by Composer.
46```
47composer require monolog/monolog
48```
49
50Steps are logged into `tests/_output/codeception.log`
51
sfException.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 287 lines
1<?php
2
20 * @author     Sean Kerr <sean@code-box.org>
21 * @version    SVN: $Id: sfException.class.php 11837 2008-09-29 08:12:42Z fabien $
22 */
61    {
62      // log all exceptions in php log
63      error_log($exception->getMessage());
101
102      if (sfConfig::get('sf_logging_enabled'))
103      {
103      {
104        $dispatcher->notify(new sfEvent($exception, 'application.log', array($exception->getMessage(), 'priority' => sfLogger::ERR)));
105      }
121      {
122        $files[] = sfConfig::get('sf_app_config_dir').'/error_500.php';
123      }
ip_map.R git://github.com/drewconway/infochimps.git | R | 77 lines
24
25log.data<-data.frame(list("IP"=log.data$V1, "Date.Time"=log.data$V3, "Log"=log.data$V4), stringsAsFactors=FALSE)
26log.data$IP<-gsub(" ","", log.data$IP)
32# Filter out only those logs accessing the right blog post
33log.data<-log.data[grep("(\\?p\\=|index\\.php)",log.data$Log),]
34
50names(geo.df)<-c("IP","Latitude","Longitude")
51log.geo<-merge(log.data,geo.df,by="IP")
52log.geo$Latitude<-as.numeric(log.geo$Latitude)
56log.count<-ddply(log.geo,.(IP, Date.Time, Latitude, Longitude), summarise, Count=length(Log))
57log.count<-log.count[with(log.count, order(Date.Time)),]
58
63for(d in strftime(log.count$Date.Time)) {
64    log.sub<-log.count[which(strftime(log.count$Date.Time)==d),]
65    geo.plot<-ggplot(world.map, aes(x=x,y=y))+geom_path(aes(colour="grey"))
infochimps.tex git://github.com/drewconway/infochimps.git | LaTeX | 427 lines
255    sep="-", header=FALSE, as.is=TRUE)
256log.data<-data.frame(list("IP"=log.data$V1, "Date.Time"=log.data$V3, 
257    "Log"=log.data$V4), stringsAsFactors=FALSE)
261log.data$Date.Time<-gsub("[\\[ ]","",log.data$Date.Time)
262log.data$Date.Time<-strptime(log.data$Date.Time, format="%d/%b/%Y:%H:%M:%S ")
263
264# Filter out only those logs accessing the right blog post
265log.data<-log.data[grep("(\\?p\\=|index\\.php)",log.data$Log),]
266    \end{lstlisting}}
294    summarise, Count=length(Log))
295log.count<-log.count[with(log.count, order(Date.Time)),]
296    \end{lstlisting}}
307for(d in strftime(log.count$Date.Time)) {
308    log.sub<-log.count[which(strftime(log.count$Date.Time)==d),]
309    geo.plot<-ggplot(world.map, aes(x=x,y=y))+geom_path(aes(colour=``grey''))
index.phtml http://firephp.googlecode.com/svn/trunk/ | text | 0 lines
11 <tr>
12   <td nowrap style="padding-left: 10px;"><a href="http://www.firephp.org/" target="_blank"><img width="51" height="51" border="0" src="/images/BugLogo.png"/></a></td>
13   <td nowrap width="50%">FirePHP Development Application</td>
17       <td>Your Extension Version:</td>
18       <td style="padding-left: 15px;"><span style="font-size: 180%; color: red;"><?php echo $this->FirePHPUserAgentVersion; ?></span></td>
19     </tr>
41
42<p><a target="contentIframe" href="/plain/PHPInfo.php">PHP Info</a><p>
43  
44<p><a target="contentIframe" href="/plain/LogPrivateObjectMembers.php">Log Private Object Members</a><p>
45<p><a target="contentIframe" href="/plain/LogPrivateObjectMembers2.php">Log Private Object Members 2</a><p>
46
103
104  <p><a target="contentIframe" href="Domplate/Log">Log</a><p>
105
include_header.php http://thinktankforums.googlecode.com/svn/trunk/ | text | 0 lines
1<?php
2/* think tank forums
40            <div class="menu_body">
41                &middot; <a href="search.php">search</a><br />
42                &middot; <a href="editprofile.php">edit your profile</a><br />
46    if ($ttf["perm"] == 'admin') {
47        echo '                &middot; <a href="admin_userlist.php">user list</a><br />'."\n";
48    };
49
50    echo '                &middot; <a href="logout.php">log out</a>'."\n";
51
56    echo <<<EOF
57                log in to {$ttf_cfg["forum_shortname"]}
58            </div>
59            <div class="menu_body">
60                <form action="{$force_https}login.php" method="post">
61                    <div>
install.php http://core.svn.wordpress.org/ | PHP | 210 lines
3if (!file_exists('../wp-config.php')) 
4    die("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://wordpress.org/docs/faq/#wp-config'>We got it</a>. You can <a href='setup-config.php'>create a <code>wp-config.php</code> file through a web interface</a>, but this doesn't work for all server setups. The safest way is to manually create the file.");
5
100<th width="33%">Weblog title:</th>
101<td><input name="weblog_title" type="text" id="weblog_title" size="25" /></td>
102</tr>
137$wpdb->query("INSERT INTO $wpdb->linkcategories (cat_id, cat_name) VALUES (1, 'Blogroll')");
138$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES ('http://blog.carthik.net/index.php', 'Carthik', 1, 'http://blog.carthik.net/feed/');");
139$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss) VALUES ('http://blogs.linux.ie/xeer/', 'Donncha', 1, 'http://blogs.linux.ie/xeer/feed/');");
187
188<p>Now you can <a href="../wp-login.php">log in</a> with the <strong>login</strong>
189  "<code>admin</code>" and <strong>password</strong> "<code><?php echo $random_password; ?></code>".</p>
199<dt>Login address</dt>
200<dd><a href="../wp-login.php">wp-login.php</a></dd>
201</dl>
import-greymatter.php http://core.svn.wordpress.org/ | PHP | 322 lines
1<?php
2if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. You must install WordPress before you import any entries.");
3
103
104		$loginthere = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_login = '$user_login'");
105		if ($loginthere) {
168				$user_joindate=addslashes($user_joindate);
169				$query = "INSERT INTO $wpdb->users (user_login,user_pass,user_nickname,user_email,user_url,user_ip,user_domain,user_browser,user_registered,user_level,user_idmode) VALUES ('$user_login','$pass1','$user_nickname','$user_email','$user_url','$user_ip','$user_domain','$user_browser','$user_joindate','0','nickname')";
170				$result = $wpdb->query($query);
266<p>Completed GM 2 WordPress import !</p>
267<p>Now you can go and <a href="wp-login.php">log in</a>, have fun !</p>
268	<?php
281<ul>
282<li>parse gm-counter.cgi (what's the use of that file ?), gm-banlist.cgi, gm-cplog.cgi (you can make a CP log hack if you really feel like it, but I question the need of a CP log)</li>
283<li>import gm-templates. you'll start with the basic template wp.php</li>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21