Author: gassla
Date: Tue May 29 09:11:06 2007
New Revision: 452

URL: http://svn.gna.org/viewcvs/phplinker?rev=452&view=rev
Log:
fixed #140: a bug from #197

Modified:
    trunk/www/admin/code.php   (contents, props changed)

Modified: trunk/www/admin/code.php
URL: 
http://svn.gna.org/viewcvs/phplinker/trunk/www/admin/code.php?rev=452&r1=451&r2=452&view=diff
==============================================================================
--- trunk/www/admin/code.php (original)
+++ trunk/www/admin/code.php Tue May 29 09:11:06 2007
@@ -16,10 +16,12 @@
     along with PHPLinker; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+# $Id$
 ?>
 <?php
 require("../includes/start.php");
 
+$text="";
 if(isset($_SESSION['code']))
   $text = $_SESSION['code']; //on récupére le code à générer
 else {
@@ -31,7 +33,7 @@
 $id = imagecreatefromjpeg("../imgs/secret.jpg");
 $grey = imagecolorallocate($im, 128, 128, 128);
 $black = imagecolorallocate($im, 0, 0, 0);
-$font = "/admin/css/themes/main/buttonfont.ttf";
+$font = "css/themes/main/buttonfont.ttf";
 for($i=0;$i<5;$i++) {
   $angle=mt_rand(10,15);
 

Propchange: trunk/www/admin/code.php
------------------------------------------------------------------------------
    svn:keywords = Id


_______________________________________________
PHPLinker-commits mailing list
[email protected]
https://mail.gna.org/listinfo/phplinker-commits

Reply via email to