moving local utils from /htdocs/util-local to /local

This commit is contained in:
Christian Matzat 2013-06-19 18:45:50 +02:00
parent d3a583afd2
commit f6ea20b3ac
16 changed files with 13 additions and 26 deletions

11
.gitignore vendored
View File

@ -29,9 +29,16 @@
/htdocs/resource2/tinymce/tiny_mce_*.gz /htdocs/resource2/tinymce/tiny_mce_*.gz
/htdocs/robots.txt /htdocs/robots.txt
/htdocs/sitemap*xml* /htdocs/sitemap*xml*
/htdocs/util-local/ocxml11client/data-files
/htdocs/util-local/ocxml11client/tmp
/htdocs/var/* /htdocs/var/*
/lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/CSS/* /lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/CSS/*
/lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/HTML/* /lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/HTML/*
/lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/URI/* /lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/URI/*
/local/ocxml11client/data-files
/local/ocxml11client/tmp
/local/ocxml11client/settings.php
# IDE related files
/.idea/
*.iml
atlassian-ide-plugin.xml

View File

@ -1,4 +0,0 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -1,4 +0,0 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -1,4 +0,0 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -1,4 +0,0 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -1,4 +0,0 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -1,7 +1,7 @@
<?php <?php
// For license information see doc/license.txt // For license information see doc/license.txt
$opt['rootpath'] = '../../'; $opt['rootpath'] = '../htdocs/';
header('Content-type: text/html; charset=utf-8'); header('Content-type: text/html; charset=utf-8');
require($opt['rootpath'] . 'lib2/web.inc.php'); require($opt['rootpath'] . 'lib2/web.inc.php');

View File

@ -8,7 +8,7 @@
* Unicode Reminder メモ * Unicode Reminder メモ
***************************************************************************/ ***************************************************************************/
$opt['rootpath'] = '../../'; $opt['rootpath'] = '../htdocs/';
require($opt['rootpath'] . 'lib2/web.inc.php'); require($opt['rootpath'] . 'lib2/web.inc.php');
$rs = sql("SELECT * FROM queries"); $rs = sql("SELECT * FROM queries");

View File

@ -28,7 +28,7 @@
***************************************************************************/ ***************************************************************************/
$rootpath = '../../'; $rootpath = '../htdocs/';
// chdir to proper directory (needed for cronjobs) // chdir to proper directory (needed for cronjobs)
chdir(substr(realpath($_SERVER['PHP_SELF']), 0, strrpos(realpath($_SERVER['PHP_SELF']), '/'))); chdir(substr(realpath($_SERVER['PHP_SELF']), 0, strrpos(realpath($_SERVER['PHP_SELF']), '/')));

View File

@ -7,7 +7,7 @@
// statistical data for cache and log activity map // statistical data for cache and log activity map
chdir ("../.."); chdir ("../htdocs");
require('lib2/web.inc.php'); require('lib2/web.inc.php');
error_reporting(error_reporting() & ~E_NOTICE); error_reporting(error_reporting() & ~E_NOTICE);