aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-28 13:58:12 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-28 13:58:12 +0100
commit19f2f11ee810cfd580cc23dabfafa658b5c4e99e (patch)
tree3403968dc56ea4b40efa266837c37f38408ca4a1 /src/Wallabag/CoreBundle/Helper
parent9e11bfa4a632374df5b1e6bb380c769b6231225c (diff)
downloadwallabag-19f2f11ee810cfd580cc23dabfafa658b5c4e99e.tar.gz
wallabag-19f2f11ee810cfd580cc23dabfafa658b5c4e99e.tar.zst
wallabag-19f2f11ee810cfd580cc23dabfafa658b5c4e99e.zip
fix themes symlinks
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper')
-rwxr-xr-xsrc/Wallabag/CoreBundle/Helper/Tools.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/Tools.php b/src/Wallabag/CoreBundle/Helper/Tools.php
index c773af37..c932f880 100755
--- a/src/Wallabag/CoreBundle/Helper/Tools.php
+++ b/src/Wallabag/CoreBundle/Helper/Tools.php
@@ -104,23 +104,6 @@ final class Tools
104 return sha1($string . SALT); 104 return sha1($string . SALT);
105 } 105 }
106 106
107 /**
108 * Returns the correct header for a status code
109 *
110 * @param $status_code
111 */
112 private static function _status($status_code)
113 {
114 if (strpos(php_sapi_name(), 'apache') !== false) {
115
116 header('HTTP/1.0 '.$status_code);
117 }
118 else {
119
120 header('Status: '.$status_code);
121 }
122 }
123
124 public static function generateToken() 107 public static function generateToken()
125 { 108 {
126 if (ini_get('open_basedir') === '') { 109 if (ini_get('open_basedir') === '') {