cvs: phpdoc /scripts/online_editor base.php
| From: | Philip Olson | Date: | Thu, 02 Oct 2008 01:27:53 +0000 |
| Subject: | cvs: phpdoc /scripts/online_editor base.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2187@lists.php.net to get a copy of this message | ||
philip Thu Oct 2 01:27:53 2008 UTC
Modified files:
/phpdoc/scripts/online_editor base.php
Log:
These variables appears used with or without $requireLogin = true
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/online_editor/base.php?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/scripts/online_editor/base.php
diff -u phpdoc/scripts/online_editor/base.php:1.4 phpdoc/scripts/online_editor/base.php:1.5
--- phpdoc/scripts/online_editor/base.php:1.4 Sat May 31 09:23:35 2008
+++ phpdoc/scripts/online_editor/base.php Thu Oct 2 01:27:53 2008
@@ -66,12 +66,11 @@
$translations_RTL = array('ar', 'he');
-if ($requireLogin) {
- // Users folder where their cached files are saved - must be writable
- $usersCachePath = '/path/to/editor/users/';
- // Files Permissions Mod
- $filesChMod = 0777;
-}
+// Users folder where their cached files are saved - must be writable
+// Only needed if $requireLogin is true
+$usersCachePath = '/path/to/editor/users/';
+// Files Permissions Mod
+$filesChMod = 0777;
foreach ($translations as $language => $lang_info) {
addLanguage($language, $lang_info[0], $lang_info[1]);