Fix some typos
This commit is contained in:
parent
f2639d6269
commit
d9c697534d
|
@ -132,14 +132,14 @@ $CONFIG = array(
|
||||||
/* Place to log to, can be owncloud and syslog (owncloud is log menu item in admin menu) */
|
/* Place to log to, can be owncloud and syslog (owncloud is log menu item in admin menu) */
|
||||||
"log_type" => "owncloud",
|
"log_type" => "owncloud",
|
||||||
|
|
||||||
/* File for the owncloud logger to log to, (default is ownloud.log in the data dir */
|
/* File for the owncloud logger to log to, (default is ownloud.log in the data dir) */
|
||||||
"logfile" => "",
|
"logfile" => "",
|
||||||
|
|
||||||
/* Loglevel to start logging at. 0=DEBUG, 1=INFO, 2=WARN, 3=ERROR (default is WARN) */
|
/* Loglevel to start logging at. 0=DEBUG, 1=INFO, 2=WARN, 3=ERROR (default is WARN) */
|
||||||
"loglevel" => "",
|
"loglevel" => "",
|
||||||
|
|
||||||
/* Append All database query and parameters to the log file.
|
/* Append all database queries and parameters to the log file.
|
||||||
(whatch out, this option can increase the size of your log file)*/
|
(watch out, this option can increase the size of your log file)*/
|
||||||
"log_query" => false,
|
"log_query" => false,
|
||||||
|
|
||||||
/* Lifetime of the remember login cookie, default is 15 days */
|
/* Lifetime of the remember login cookie, default is 15 days */
|
||||||
|
@ -167,8 +167,8 @@ $CONFIG = array(
|
||||||
|
|
||||||
/* Set an array of path for your apps directories
|
/* Set an array of path for your apps directories
|
||||||
key 'path' is for the fs path and the key 'url' is for the http path to your
|
key 'path' is for the fs path and the key 'url' is for the http path to your
|
||||||
applications paths. 'writable' indicate if the user can install apps in this folder.
|
applications paths. 'writable' indicates whether the user can install apps in this folder.
|
||||||
You must have at least 1 app folder writable or you must set the parameter : appstoreenabled to false
|
You must have at least 1 app folder writable or you must set the parameter 'appstoreenabled' to false
|
||||||
*/
|
*/
|
||||||
array(
|
array(
|
||||||
'path'=> '/var/www/owncloud/apps',
|
'path'=> '/var/www/owncloud/apps',
|
||||||
|
|
|
@ -424,7 +424,7 @@ class OC_App{
|
||||||
return $navigation;
|
return $navigation;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This is private as well. It simply works, so don't ask for more details
|
// This is private as well. It simply works, so don't ask for more details
|
||||||
private static function proceedNavigation( $list ) {
|
private static function proceedNavigation( $list ) {
|
||||||
foreach( $list as &$naventry ) {
|
foreach( $list as &$naventry ) {
|
||||||
if( $naventry['id'] == self::$activeapp ) {
|
if( $naventry['id'] == self::$activeapp ) {
|
||||||
|
@ -473,7 +473,7 @@ class OC_App{
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Get the directory for the given app.
|
* Get the directory for the given app.
|
||||||
* If the app is defined in multiple directory, the first one is taken. (false if not found)
|
* If the app is defined in multiple directories, the first one is taken. (false if not found)
|
||||||
*/
|
*/
|
||||||
public static function getAppPath($appid) {
|
public static function getAppPath($appid) {
|
||||||
if( ($dir = self::findAppInDirectories($appid)) != false) {
|
if( ($dir = self::findAppInDirectories($appid)) != false) {
|
||||||
|
@ -484,7 +484,7 @@ class OC_App{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the path for the given app on the access
|
* Get the path for the given app on the access
|
||||||
* If the app is defined in multiple directory, the first one is taken. (false if not found)
|
* If the app is defined in multiple directories, the first one is taken. (false if not found)
|
||||||
*/
|
*/
|
||||||
public static function getAppWebPath($appid) {
|
public static function getAppWebPath($appid) {
|
||||||
if( ($dir = self::findAppInDirectories($appid)) != false) {
|
if( ($dir = self::findAppInDirectories($appid)) != false) {
|
||||||
|
@ -818,7 +818,7 @@ class OC_App{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* check if the app need updating and update when needed
|
* check if the app needs updating and update when needed
|
||||||
*/
|
*/
|
||||||
public static function checkUpgrade($app) {
|
public static function checkUpgrade($app) {
|
||||||
if (in_array($app, self::$checkedApps)) {
|
if (in_array($app, self::$checkedApps)) {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
abstract class OC_Archive{
|
abstract class OC_Archive{
|
||||||
/**
|
/**
|
||||||
* open any of the supporeted archive types
|
* open any of the supported archive types
|
||||||
* @param string path
|
* @param string path
|
||||||
* @return OC_Archive
|
* @return OC_Archive
|
||||||
*/
|
*/
|
||||||
|
@ -113,7 +113,7 @@ abstract class OC_Archive{
|
||||||
*/
|
*/
|
||||||
abstract function getStream($path, $mode);
|
abstract function getStream($path, $mode);
|
||||||
/**
|
/**
|
||||||
* add a folder and all it's content
|
* add a folder and all its content
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param string source
|
* @param string source
|
||||||
* @return bool
|
* @return bool
|
||||||
|
|
|
@ -26,7 +26,7 @@ class Updater {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* preform a write update
|
* perform a write update
|
||||||
*
|
*
|
||||||
* @param string $path the relative path of the file
|
* @param string $path the relative path of the file
|
||||||
*/
|
*/
|
||||||
|
@ -46,7 +46,7 @@ class Updater {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* preform a delete update
|
* perform a delete update
|
||||||
*
|
*
|
||||||
* @param string $path the relative path of the file
|
* @param string $path the relative path of the file
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class for abstraction of filesystem functions
|
* Class for abstraction of filesystem functions
|
||||||
* This class won't call any filesystem functions for itself but but will pass them to the correct OC_Filestorage object
|
* This class won't call any filesystem functions for itself but will pass them to the correct OC_Filestorage object
|
||||||
* this class should also handle all the file permission related stuff
|
* this class should also handle all the file permission related stuff
|
||||||
*
|
*
|
||||||
* Hooks provided:
|
* Hooks provided:
|
||||||
|
@ -717,7 +717,7 @@ class Filesystem {
|
||||||
/**
|
/**
|
||||||
* Get the path of a file by id
|
* Get the path of a file by id
|
||||||
*
|
*
|
||||||
* Note that the resulting path is not guarantied to be unique for the id, multiple paths can point to the same file
|
* Note that the resulting path is not guaranteed to be unique for the id, multiple paths can point to the same file
|
||||||
*
|
*
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @return string
|
* @return string
|
||||||
|
|
|
@ -59,7 +59,7 @@ class OC_Preferences{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get all apps of a user
|
* @brief Get all apps of an user
|
||||||
* @param string $user user
|
* @param string $user user
|
||||||
* @return array with app ids
|
* @return array with app ids
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue