Browse Source

no more require_once()

tags/v4.5.0beta3
Thomas Mueller 12 years ago
parent
commit
ebb28412ca

+ 1
- 1
apps/files_encryption/lib/crypt.php View File

@@ -31,7 +31,7 @@
// - IMPORTANT! Check if the block lenght of the encrypted data stays the same


require_once('Crypt_Blowfish/Blowfish.php');
require_once 'Crypt_Blowfish/Blowfish.php';

/**
* This class is for crypting and decrypting

+ 1
- 1
apps/files_external/lib/smb.php View File

@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/

require_once('smb4php/smb.php');
require_once 'smb4php/smb.php';

class OC_FileStorage_SMB extends OC_FileStorage_StreamWrapper{
private $password;

+ 1
- 1
apps/files_external/lib/swift.php View File

@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/

require_once('php-cloudfiles/cloudfiles.php');
require_once 'php-cloudfiles/cloudfiles.php';

class OC_FileStorage_SWIFT extends OC_Filestorage_Common{
private $host;

+ 1
- 1
apps/files_versions/appinfo/app.php View File

@@ -1,6 +1,6 @@
<?php

//require_once('files_versions/versions.php');
//require_once 'files_versions/versions.php';
OC::$CLASSPATH['OCA_Versions\Storage'] = 'apps/files_versions/lib/versions.php';
OC::$CLASSPATH['OCA_Versions\Hooks'] = 'apps/files_versions/lib/hooks.php';


+ 1
- 1
apps/user_webdavauth/appinfo/app.php View File

@@ -21,7 +21,7 @@
*
*/

require_once('apps/user_webdavauth/user_webdavauth.php');
require_once 'apps/user_webdavauth/user_webdavauth.php';

OC_APP::registerAdmin('user_webdavauth','settings');


+ 1
- 5
l10n/templates/core.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:51+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -29,10 +29,6 @@ msgstr ""
msgid "This category already exists: "
msgstr ""

#: js/jquery-ui-1.8.16.custom.min.js:511
msgid "ui-datepicker-group';if(i[1]>1)switch(G){case 0:y+="
msgstr ""

#: js/js.js:208 templates/layout.user.php:60 templates/layout.user.php:61
msgid "Settings"
msgstr ""

+ 24
- 20
l10n/templates/files.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -55,31 +55,35 @@ msgstr ""
msgid "Delete"
msgstr ""

#: js/filelist.js:141
#: js/filelist.js:186 js/filelist.js:188
msgid "already exists"
msgstr ""

#: js/filelist.js:141
#: js/filelist.js:186 js/filelist.js:188
msgid "replace"
msgstr ""

#: js/filelist.js:141
#: js/filelist.js:186
msgid "suggest name"
msgstr ""

#: js/filelist.js:186 js/filelist.js:188
msgid "cancel"
msgstr ""

#: js/filelist.js:195
#: js/filelist.js:235 js/filelist.js:237
msgid "replaced"
msgstr ""

#: js/filelist.js:195
msgid "with"
#: js/filelist.js:235 js/filelist.js:237 js/filelist.js:271
msgid "undo"
msgstr ""

#: js/filelist.js:195 js/filelist.js:246
msgid "undo"
#: js/filelist.js:237
msgid "with"
msgstr ""

#: js/filelist.js:246
#: js/filelist.js:271
msgid "deleted"
msgstr ""

@@ -95,44 +99,44 @@ msgstr ""
msgid "Upload Error"
msgstr ""

#: js/files.js:236 js/files.js:327 js/files.js:356
#: js/files.js:236 js/files.js:341 js/files.js:370
msgid "Pending"
msgstr ""

#: js/files.js:341
#: js/files.js:355
msgid "Upload cancelled."
msgstr ""

#: js/files.js:409
#: js/files.js:423
msgid ""
"File upload is in progress. Leaving the page now will cancel the upload."
msgstr ""

#: js/files.js:480
#: js/files.js:493
msgid "Invalid name, '/' is not allowed."
msgstr ""

#: js/files.js:726 templates/index.php:55
#: js/files.js:746 templates/index.php:55
msgid "Size"
msgstr ""

#: js/files.js:727 templates/index.php:56
#: js/files.js:747 templates/index.php:56
msgid "Modified"
msgstr ""

#: js/files.js:754
#: js/files.js:774
msgid "folder"
msgstr ""

#: js/files.js:756
#: js/files.js:776
msgid "folders"
msgstr ""

#: js/files.js:764
#: js/files.js:784
msgid "file"
msgstr ""

#: js/files.js:766
#: js/files.js:786
msgid "files"
msgstr ""


+ 1
- 1
l10n/templates/files_encryption.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

+ 1
- 1
l10n/templates/files_external.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

+ 1
- 1
l10n/templates/files_sharing.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

+ 1
- 1
l10n/templates/files_versions.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

+ 1
- 1
l10n/templates/lib.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:51+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

+ 1
- 1
l10n/templates/settings.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:02+0200\n"
"POT-Creation-Date: 2012-09-05 22:51+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

+ 1
- 1
l10n/templates/user_ldap.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

+ 1
- 1
lib/MDB2/Driver/Datatype/sqlite3.php View File

@@ -20,7 +20,7 @@
*
*/

require_once('MDB2/Driver/Datatype/Common.php');
require_once 'MDB2/Driver/Datatype/Common.php';

/**
* MDB2 SQLite driver

+ 1
- 1
lib/MDB2/Driver/Function/sqlite3.php View File

@@ -20,7 +20,7 @@
*
*/

require_once('MDB2/Driver/Function/Common.php');
require_once 'MDB2/Driver/Function/Common.php';

/**
* MDB2 SQLite driver for the function modules

+ 1
- 1
lib/MDB2/Driver/Manager/sqlite3.php View File

@@ -20,7 +20,7 @@
*
*/

require_once('MDB2/Driver/Manager/Common.php');
require_once 'MDB2/Driver/Manager/Common.php';

/**
* MDB2 SQLite driver for the management modules

+ 1
- 1
lib/MDB2/Driver/Reverse/sqlite3.php View File

@@ -20,7 +20,7 @@
*
*/

require_once('MDB2/Driver/Reverse/Common.php');
require_once 'MDB2/Driver/Reverse/Common.php';

/**
* MDB2 SQlite driver for the schema reverse engineering module

+ 1
- 1
lib/filesystem.php View File

@@ -559,4 +559,4 @@ OC_Hook::connect('OC_Filesystem','post_delete','OC_Filesystem','removeETagHook')
OC_Hook::connect('OC_Filesystem','post_rename','OC_Filesystem','removeETagHook');

OC_Util::setupFS();
require_once('filecache.php');
require_once 'filecache.php';

+ 1
- 1
lib/mail.php View File

@@ -12,7 +12,7 @@
* A class to handle mail sending.
*/

require_once('class.phpmailer.php');
require_once 'class.phpmailer.php';

class OC_Mail {


+ 2
- 2
lib/migrate.php View File

@@ -376,7 +376,7 @@ class OC_Migrate{

// Connect if this did not happen before
if( !self::$schema ){
require_once('MDB2/Schema.php');
require_once 'MDB2/Schema.php';
self::$schema=MDB2_Schema::factory( self::$MDB2 );
}

@@ -471,7 +471,7 @@ class OC_Migrate{
}
// Already connected
if(!self::$MDB2){
require_once('MDB2.php');
require_once 'MDB2.php';

$datadir = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" );


+ 1
- 1
lib/minimizer/css.php View File

@@ -1,6 +1,6 @@
<?php

require_once('mediawiki/CSSMin.php');
require_once 'mediawiki/CSSMin.php';

class OC_Minimizer_CSS extends OC_Minimizer
{

+ 1
- 1
lib/minimizer/js.php View File

@@ -1,6 +1,6 @@
<?php

require_once('mediawiki/JavaScriptMinifier.php');
require_once 'mediawiki/JavaScriptMinifier.php';

class OC_Minimizer_JS extends OC_Minimizer
{

+ 1
- 1
search/ajax/search.php View File

@@ -23,7 +23,7 @@


// Init owncloud
require_once('../../lib/base.php');
require_once '../../lib/base.php';

// Check if we are a user
OC_JSON::checkLoggedIn();

+ 1
- 1
settings/admin.php View File

@@ -5,7 +5,7 @@
* See the COPYING-README file.
*/

require_once('../lib/base.php');
require_once '../lib/base.php';
OC_Util::checkAdminUser();

OC_Util::addStyle( "settings", "settings" );

+ 1
- 1
settings/ajax/disableapp.php View File

@@ -1,6 +1,6 @@
<?php
// Init owncloud
require_once('../../lib/base.php');
require_once '../../lib/base.php';
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();

+ 1
- 1
settings/ajax/enableapp.php View File

@@ -1,7 +1,7 @@
<?php

// Init owncloud
require_once('../../lib/base.php');
require_once '../../lib/base.php';
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();

+ 1
- 1
settings/ajax/togglesubadmins.php View File

@@ -1,7 +1,7 @@
<?php

// Init owncloud
require_once('../../lib/base.php');
require_once '../../lib/base.php';

OC_JSON::checkAdminUser();
OCP\JSON::callCheck();

+ 1
- 1
tests/lib/archive/tar.php View File

@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/

require_once('archive.php');
require_once 'archive.php';

if(is_dir(OC::$SERVERROOT.'/apps/files_archive/tests/data')){
class Test_Archive_TAR extends Test_Archive{

+ 1
- 1
tests/lib/archive/zip.php View File

@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/

require_once('archive.php');
require_once 'archive.php';

if(is_dir(OC::$SERVERROOT.'/apps/files_archive/tests/data')){
class Test_Archive_ZIP extends Test_Archive{

Loading…
Cancel
Save